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.001311/0.001311, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001424/0.001424, allocations: 160.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.419/1.419, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.194/1.194, allocations: 154.5 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.95e-06/4.95e-06, allocations: 4 kB / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.967e-05/4.462e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002707/0.002751, allocations: 1.466 MB / 0.62 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003844, allocations: 0.559 MB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.003876, allocations: 4 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.003905, allocations: 7.922 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.003961, allocations: 11.86 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.004544, allocations: 174.7 kB / 0.6207 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.688e-05/0.004631, allocations: 47.84 kB / 0.6207 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.004669, allocations: 3.984 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.004753, allocations: 35.97 kB / 0.6208 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.004802, allocations: 23.91 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.004819, allocations: 7.938 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.005247, allocations: 271.4 kB / 0.6211 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.005267, allocations: 7.984 kB / 0.6211 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.005304, allocations: 23.92 kB / 0.6211 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.005614, allocations: 187.4 kB / 0.6213 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.005617, allocations: 0 / 0.6213 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005618, allocations: 0 / 0.6213 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.005621, allocations: 0 / 0.6213 GB, free: 1.824 MB / 0.5294 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.0006182/0.006239, allocations: 329.8 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.006277, allocations: 13.47 kB / 0.6216 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.006319, allocations: 4.938 kB / 0.6216 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.006434, allocations: 113.6 kB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.006464, allocations: 8.375 kB / 0.6217 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.006486, allocations: 4.375 kB / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.006773, allocations: 137.6 kB / 0.6219 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006785, allocations: 4.125 kB / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.006797, allocations: 384 / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.006801, allocations: 4.375 kB / 0.6219 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.007052, allocations: 51.89 kB / 0.6219 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.007606, allocations: 260.4 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.007915, allocations: 74.53 kB / 0.6222 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.008037, allocations: 28.78 kB / 0.6223 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.008059, allocations: 4 kB / 0.6223 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.008092, allocations: 38.56 kB / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.008093, allocations: 0 / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001645/0.009738, allocations: 0.4958 MB / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.00978, allocations: 59.34 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/0.009876, allocations: 105.8 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.009898, allocations: 25.7 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.00995, allocations: 92.03 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.009992, allocations: 43.73 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.01004, allocations: 33.64 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01019, allocations: 318.8 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.01033, allocations: 31.97 kB / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.01046, allocations: 31.98 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.01073, allocations: 76.95 kB / 0.6236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01073, allocations: 0 / 0.6236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003474/0.01108, allocations: 119.8 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01109, allocations: 4 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.0111, allocations: 192 / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01111, allocations: 0 / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.01129, allocations: 31.97 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01129, allocations: 4 kB / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.01136, allocations: 11.98 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.01137, allocations: 0 / 0.6237 GB, free: 15.07 MB / 0.545 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 9.896e-05/0.01147, allocations: 118.8 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.01151, allocations: 12 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.01192, allocations: 125.6 kB / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01192, allocations: 4 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01192, allocations: 0 / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01192, allocations: 0 / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.01251, allocations: 341 kB / 0.6243 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01251, allocations: 0 / 0.6243 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.01267, allocations: 23.98 kB / 0.6243 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01267, allocations: 0 / 0.6243 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01269, allocations: 8 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.01269, allocations: 3.984 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01269, allocations: 0 / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.01323, allocations: 243.4 kB / 0.6246 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.01324, allocations: 7.984 kB / 0.6246 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.01326, allocations: 7.938 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.01339, allocations: 7.938 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.01341, allocations: 7.984 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01342, allocations: 8 kB / 0.6246 GB, free: 14.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.01347, allocations: 83.27 kB / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01347, allocations: 0 / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002861/0.01376, allocations: 39.81 kB / 0.6247 GB, free: 13.98 MB / 0.545 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.0002232/0.01398, allocations: 135.1 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.01432, allocations: 87.83 kB / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01432, allocations: 0 / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.01446, allocations: 39.97 kB / 0.625 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.01475, allocations: 4 kB / 0.625 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.01538, allocations: 265.4 kB / 0.6252 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.004e-05/0.01546, allocations: 88.45 kB / 0.6253 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.014e-05/0.01551, allocations: 8.719 kB / 0.6253 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.01555, allocations: 20.5 kB / 0.6254 GB, free: 13.28 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.01555, allocations: 0 / 0.6254 GB, free: 13.28 MB / 0.545 GB Notification: Performance of Templates: time 0.004078/0.01963, allocations: 1.132 MB / 0.6265 GB, free: 12.22 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.68336620554328] Failed to read output from testmodel.py, exit status != 0: 0.028073545545339584 0.04213989 0.033511044000000004 Calling exit ...