Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001314/0.001314, allocations: 73.09 kB / 20.65 MB, free: 3.848 MB / 18.57 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.000951/0.000951, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.938/0.938, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.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-535:34: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-535:42: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.7812/0.7812, allocations: 154.9 MB / 415.9 MB, free: 272 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.142e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001856/0.001878, allocations: 1.324 MB / 0.5232 GB, free: 228 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000821/0.002699, allocations: 0.5776 MB / 0.5238 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.002734, allocations: 0 / 0.5238 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.002756, allocations: 0 / 0.5238 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.002804, allocations: 3.938 kB / 0.5238 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.003286, allocations: 156.9 kB / 0.5239 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.134e-05/0.003357, allocations: 27.91 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.003396, allocations: 4 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.003439, allocations: 20.67 kB / 0.524 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.003493, allocations: 11.97 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.003505, allocations: 5.344 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.003786, allocations: 271.4 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.003802, allocations: 4 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.003819, allocations: 11.98 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.004078, allocations: 160.8 kB / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004081, allocations: 0 / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004082, allocations: 0 / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004086, allocations: 0 / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002711/0.004357, allocations: 397.8 kB / 0.5248 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.004394, allocations: 12.03 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.00442, allocations: 13.17 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.921e-05/0.00449, allocations: 108.6 kB / 0.5249 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.0045, allocations: 10.5 kB / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.004516, allocations: 4.375 kB / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.86e-05/0.004594, allocations: 93.66 kB / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.004602, allocations: 4.172 kB / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-06/0.004608, allocations: 384 / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.004611, allocations: 384 / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.121e-05/0.004632, allocations: 16.42 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.004733, allocations: 109.8 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.727e-05/0.00481, allocations: 59.98 kB / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.004831, allocations: 27.89 kB / 0.5252 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.004844, allocations: 0.6875 kB / 0.5252 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.004867, allocations: 37.39 kB / 0.5253 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.004868, allocations: 1.188 kB / 0.5253 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0007153/0.005583, allocations: 440.7 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.005609, allocations: 56.88 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.005664, allocations: 153.9 kB / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.005674, allocations: 25.7 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.00583, allocations: 130.9 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.005862, allocations: 42.89 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.005896, allocations: 39.34 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.005993, allocations: 496.1 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.006009, allocations: 11.98 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.006027, allocations: 15.98 kB / 0.5266 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.006069, allocations: 39.67 kB / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.00607, allocations: 0 / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.4e-05/0.006144, allocations: 85.61 kB / 0.5267 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.006157, allocations: 11.03 kB / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.00616, allocations: 0 / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/0.006167, allocations: 0 / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.006218, allocations: 16 kB / 0.5268 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.006223, allocations: 7.938 kB / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.006235, allocations: 3.984 kB / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.006239, allocations: 0 / 0.5268 GB, free: 12.32 MB / 0.4948 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.317e-05/0.006302, allocations: 160.6 kB / 0.5269 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.006313, allocations: 17.39 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.947e-05/0.006413, allocations: 93.97 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.006415, allocations: 4 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.006417, allocations: 3.938 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.006422, allocations: 8.469 kB / 0.527 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.006634, allocations: 320.8 kB / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.006635, allocations: 0 / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.006691, allocations: 23.98 kB / 0.5274 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006692, allocations: 0 / 0.5274 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.006697, allocations: 4 kB / 0.5274 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006699, allocations: 3.938 kB / 0.5274 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006699, allocations: 0 / 0.5274 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.006855, allocations: 253.1 kB / 0.5276 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.006861, allocations: 3.953 kB / 0.5276 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.006874, allocations: 7.984 kB / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.181e-05/0.006916, allocations: 7.938 kB / 0.5276 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.006932, allocations: 11.92 kB / 0.5276 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.006937, allocations: 0 / 0.5276 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.656e-05/0.006974, allocations: 124.7 kB / 0.5278 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006974, allocations: 0 / 0.5278 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001994/0.007173, allocations: 35.88 kB / 0.5278 GB, free: 11.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0002147/0.007388, allocations: 136.1 kB / 0.5279 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.007489, allocations: 55.59 kB / 0.528 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007491, allocations: 1.125 kB / 0.528 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.007522, allocations: 35.06 kB / 0.528 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.007682, allocations: 8 kB / 0.528 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.008185, allocations: 250 kB / 0.5283 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.191e-05/0.008227, allocations: 63.34 kB / 0.5283 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.687e-05/0.008254, allocations: 7.938 kB / 0.5283 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.008303, allocations: 82.19 kB / 0.5284 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/0.008304, allocations: 4.906 kB / 0.5284 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.002889/0.01119, allocations: 1.069 MB / 0.5295 GB, free: 9.578 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5612103547900915]