Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.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.0009434/0.0009434, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.00108/0.00108, allocations: 166.5 kB / 24.84 MB, free: 9.293 MB / 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 1.048/1.048, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6222/0.6222, allocations: 115 MB / 376.8 MB, free: 7.477 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 482.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.447e-05, allocations: 2.312 kB / 482.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001462/0.001476, allocations: 1.391 MB / 484.2 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.002359, allocations: 0.8993 MB / 485.1 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.002398, allocations: 5.312 kB / 485.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.002417, allocations: 1.062 kB / 485.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.002464, allocations: 12.33 kB / 485.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.003023, allocations: 219.5 kB / 485.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.812e-05/0.003101, allocations: 39.42 kB / 485.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.003139, allocations: 7.312 kB / 485.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.0032, allocations: 23.31 kB / 485.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.00326, allocations: 17.55 kB / 485.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.003272, allocations: 3.094 kB / 485.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.003724, allocations: 377.4 kB / 485.8 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.003741, allocations: 6.938 kB / 485.8 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.003764, allocations: 18.45 kB / 485.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.004082, allocations: 304.1 kB / 486.1 MB, free: 9.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004084, allocations: 1.062 kB / 486.1 MB, free: 9.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004085, allocations: 1.406 kB / 486.1 MB, free: 9.926 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.004088, allocations: 0 / 486.1 MB, free: 9.926 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003044/0.004392, allocations: 451.3 kB / 486.5 MB, free: 9.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.004426, allocations: 9.094 kB / 486.5 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.004586, allocations: 25.17 kB / 486.6 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.151e-05/0.004667, allocations: 113.7 kB / 486.7 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.004682, allocations: 1.438 kB / 486.7 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.004696, allocations: 2.906 kB / 486.7 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.004796, allocations: 90.45 kB / 486.8 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.004805, allocations: 3.938 kB / 486.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004813, allocations: 1.469 kB / 486.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.004818, allocations: 0 / 486.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.004846, allocations: 15.36 kB / 486.8 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.004951, allocations: 113.1 kB / 486.9 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.005088, allocations: 58.16 kB / 486.9 MB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.00511, allocations: 18.77 kB / 487 MB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.005122, allocations: 1.625 kB / 487 MB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.005137, allocations: 35.08 kB / 487 MB, free: 9.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.005138, allocations: 1.781 kB / 487 MB, free: 9.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007639/0.005902, allocations: 334.8 kB / 487.3 MB, free: 8.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.005921, allocations: 52.44 kB / 487.4 MB, free: 8.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.006088, allocations: 179.3 kB / 487.6 MB, free: 24.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.006098, allocations: 27.05 kB / 487.6 MB, free: 24.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.00613, allocations: 133 kB / 487.7 MB, free: 24.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.006154, allocations: 25.69 kB / 487.7 MB, free: 24.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.006198, allocations: 42.97 kB / 487.8 MB, free: 24.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.006288, allocations: 497.7 kB / 488.3 MB, free: 23.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.854e-05/0.006326, allocations: 25.16 kB / 488.3 MB, free: 23.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.006362, allocations: 34.33 kB / 488.3 MB, free: 23.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.743e-05/0.00644, allocations: 67.81 kB / 488.4 MB, free: 23.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.006441, allocations: 0 / 488.4 MB, free: 23.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001429/0.006584, allocations: 114 kB / 488.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.006597, allocations: 5.594 kB / 488.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.006608, allocations: 2.656 kB / 488.5 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.00662, allocations: 7.219 kB / 488.5 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.006693, allocations: 16.03 kB / 488.5 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006696, allocations: 0.875 kB / 488.5 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.703e-05/0.006733, allocations: 2.781 kB / 488.5 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.006742, allocations: 6.5 kB / 488.5 MB, free: 23.79 MB / 426.7 MB 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.83e-05/0.00681, allocations: 162.2 kB / 488.7 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.006826, allocations: 8.141 kB / 488.7 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.006855, allocations: 9.688 kB / 488.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006858, allocations: 5.156 kB / 488.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006861, allocations: 0 / 488.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006864, allocations: 6.188 kB / 488.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.007193, allocations: 324.5 kB / 489 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.007196, allocations: 4.469 kB / 489.1 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.007261, allocations: 15.2 kB / 489.1 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.007262, allocations: 0 / 489.1 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.007271, allocations: 8.406 kB / 489.1 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.007273, allocations: 3.984 kB / 489.1 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007274, allocations: 1.25 kB / 489.1 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.007452, allocations: 248.8 kB / 489.3 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.007473, allocations: 11.14 kB / 489.3 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.007486, allocations: 9.375 kB / 489.3 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/0.007541, allocations: 4.812 kB / 489.3 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.007557, allocations: 5.344 kB / 489.4 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.007563, allocations: 8.344 kB / 489.4 MB, free: 23.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.007604, allocations: 143 kB / 489.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007604, allocations: 0.9688 kB / 489.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.007789, allocations: 21.41 kB / 489.5 MB, free: 22.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001072/0.007896, allocations: 119.1 kB / 489.6 MB, free: 22.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.00804, allocations: 103 kB / 489.7 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008042, allocations: 0 / 489.7 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.29e-05/0.008075, allocations: 29.38 kB / 489.8 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.008253, allocations: 11.81 kB / 489.8 MB, free: 22.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.008768, allocations: 235.7 kB / 490 MB, free: 22.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.921e-05/0.008798, allocations: 62.28 kB / 490.1 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.97e-05/0.008837, allocations: 10.3 kB / 490.1 MB, free: 22.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.121e-05/0.008918, allocations: 83.67 kB / 490.2 MB, free: 22.47 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008919, allocations: 3.375 kB / 490.2 MB, free: 22.47 MB / 426.7 MB Notification: Performance of Templates: time 0.003443/0.01236, allocations: 1.982 MB / 492.1 MB, free: 22.36 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6122211893089116]