Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007755/0.0007755, allocations: 109.3 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008401/0.0008401, allocations: 213.7 kB / 22.25 MB, free: 3.699 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9039/0.9039, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.778/0.778, allocations: 203.8 MB / 0.5042 GB, free: 10.78 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009833/0.0009833, allocations: 75.2 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4839, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001756/0.4857, allocations: 1.498 MB / 0.8193 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007447/0.4864, allocations: 0.6285 MB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.4865, allocations: 3.938 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.4865, allocations: 1.219 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.4865, allocations: 15.45 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.487, allocations: 159.4 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.407e-05/0.4871, allocations: 54.5 kB / 0.8202 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.4871, allocations: 6.297 kB / 0.8202 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.4872, allocations: 21.23 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.4872, allocations: 30.2 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.4872, allocations: 2.938 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.4876, allocations: 354.2 kB / 0.8206 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.4876, allocations: 13.19 kB / 0.8206 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.4877, allocations: 27.31 kB / 0.8206 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.4879, allocations: 174.8 kB / 0.8208 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4879, allocations: 0 / 0.8208 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4879, allocations: 0 / 0.8208 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.4879, allocations: 0 / 0.8208 GB, free: 15.46 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005407/0.4885, allocations: 332.6 kB / 0.8211 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4885, allocations: 15.16 kB / 0.8211 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.4885, allocations: 36.06 kB / 0.8211 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.4886, allocations: 5.578 kB / 0.8211 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.548e-05/0.4887, allocations: 120.8 kB / 0.8213 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.4887, allocations: 9.062 kB / 0.8213 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.4887, allocations: 4.875 kB / 0.8213 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.4889, allocations: 75.78 kB / 0.8214 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4889, allocations: 3.938 kB / 0.8214 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4889, allocations: 6.219 kB / 0.8214 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4889, allocations: 4 kB / 0.8214 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.489, allocations: 48.12 kB / 0.8214 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.4894, allocations: 292.1 kB / 0.8217 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.4896, allocations: 79.17 kB / 0.8218 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.4897, allocations: 35.88 kB / 0.8218 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.4897, allocations: 0.5312 kB / 0.8218 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4897, allocations: 33.47 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.4897, allocations: 0 / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0009529/0.4907, allocations: 0.4917 MB / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.4907, allocations: 55.31 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.4907, allocations: 104 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.4908, allocations: 30.33 kB / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.4908, allocations: 97.91 kB / 0.8226 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.4908, allocations: 40.28 kB / 0.8226 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.4909, allocations: 26.84 kB / 0.8226 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.4909, allocations: 318.1 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.491, allocations: 35.55 kB / 0.823 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.4911, allocations: 29.06 kB / 0.823 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.4912, allocations: 84.2 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4912, allocations: 0 / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001669/0.4914, allocations: 110.2 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.4914, allocations: 10.84 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4914, allocations: 3.938 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4914, allocations: 0.9844 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.4915, allocations: 25.06 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4915, allocations: 4.922 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/0.4915, allocations: 13.09 kB / 0.8233 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.4915, allocations: 3.594 kB / 0.8233 GB, free: 13.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/0.4916, allocations: 117 kB / 0.8234 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.4916, allocations: 8.547 kB / 0.8234 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.4918, allocations: 123.5 kB / 0.8235 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4918, allocations: 5.234 kB / 0.8235 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4918, allocations: 3.938 kB / 0.8235 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4918, allocations: 4 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.4922, allocations: 355.2 kB / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4922, allocations: 0 / 0.8238 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/0.4923, allocations: 29.5 kB / 0.8239 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4923, allocations: 5.156 kB / 0.8239 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4923, allocations: 1.312 kB / 0.8239 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4923, allocations: 3.984 kB / 0.8239 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4923, allocations: 0.9375 kB / 0.8239 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.4926, allocations: 259.1 kB / 0.8241 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-06/0.4926, allocations: 8.25 kB / 0.8241 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.4926, allocations: 5.281 kB / 0.8241 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.4926, allocations: 10.09 kB / 0.8242 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.4927, allocations: 6.266 kB / 0.8242 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.4927, allocations: 7.688 kB / 0.8242 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.876e-05/0.4927, allocations: 79.17 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4927, allocations: 0 / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001832/0.4929, allocations: 40.23 kB / 0.8243 GB, free: 12.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005197/0.4934, allocations: 0.8216 MB / 0.8251 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.4936, allocations: 77.84 kB / 0.8252 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4936, allocations: 1.531 kB / 0.8252 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.4937, allocations: 40.5 kB / 0.8252 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.4939, allocations: 17.09 kB / 0.8252 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.4951, allocations: 1.6 MB / 0.8268 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.4953, allocations: 0.6919 MB / 0.8275 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.4954, allocations: 13.16 kB / 0.8275 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.4954, allocations: 22.66 kB / 0.8275 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.4954, allocations: 0 / 0.8275 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.5109, allocations: 2.467 MB / 0.8299 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.794, allocations: 2.25 kB / 0.8299 GB, free: 9.305 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.570122777018696] Failed to read output from testmodel.py, exit status != 0: 7.8729081188794225 7.883222065 7.393181713 Calling exit ...