Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 104.5 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.06 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1666, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002579/0.1692, allocations: 1.227 MB / 0.6333 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1703, allocations: 0.588 MB / 0.6339 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.1703, allocations: 0 / 0.6339 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.1704, allocations: 3.984 kB / 0.6339 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.1704, allocations: 3.938 kB / 0.6339 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.1709, allocations: 147.4 kB / 0.634 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.894e-05/0.171, allocations: 11.94 kB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.1711, allocations: 8 kB / 0.634 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.1711, allocations: 0 / 0.634 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/0.1711, allocations: 4 kB / 0.634 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1712, allocations: 0 / 0.634 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.1716, allocations: 343.3 kB / 0.6344 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.1717, allocations: 11.92 kB / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.1717, allocations: 0 / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1719, allocations: 143.6 kB / 0.6345 GB, free: 1.918 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.172, allocations: 0 / 0.6345 GB, free: 1.918 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.172, allocations: 0 / 0.6345 GB, free: 1.918 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.172, allocations: 0 / 0.6345 GB, free: 1.918 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000423/0.1724, allocations: 355.5 kB / 0.6348 GB, free: 1.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1725, allocations: 12.03 kB / 0.6349 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.1725, allocations: 0.9375 kB / 0.6349 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1726, allocations: 168.3 kB / 0.635 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.1727, allocations: 384 / 0.635 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1727, allocations: 384 / 0.635 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1728, allocations: 34.25 kB / 0.635 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1728, allocations: 192 / 0.635 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1728, allocations: 7.938 kB / 0.6351 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1728, allocations: 4 kB / 0.6351 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.277e-05/0.1729, allocations: 7.938 kB / 0.6351 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.173, allocations: 149.7 kB / 0.6352 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.659e-05/0.1731, allocations: 22.61 kB / 0.6352 GB, free: 1.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.1731, allocations: 8.922 kB / 0.6352 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1732, allocations: 0 / 0.6352 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1732, allocations: 34.56 kB / 0.6353 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1732, allocations: 0 / 0.6353 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.1734, allocations: 53.56 kB / 0.6353 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1734, allocations: 51.41 kB / 0.6354 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.1735, allocations: 97.8 kB / 0.6355 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1735, allocations: 25.7 kB / 0.6355 GB, free: 0.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.1736, allocations: 84.14 kB / 0.6356 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.1736, allocations: 4.156 kB / 0.6356 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.1736, allocations: 21.7 kB / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1738, allocations: 310.8 kB / 0.6359 GB, free: 284 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.1738, allocations: 4 kB / 0.6359 GB, free: 280 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.1738, allocations: 7.938 kB / 0.6359 GB, free: 272 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.1738, allocations: 8.859 kB / 0.6359 GB, free: 260 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1739, allocations: 3.938 kB / 0.6359 GB, free: 256 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.073e-05/0.1739, allocations: 41.75 kB / 0.636 GB, free: 208 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1739, allocations: 12.03 kB / 0.636 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.174, allocations: 3.938 kB / 0.636 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.174, allocations: 0 / 0.636 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1741, allocations: 8 kB / 0.636 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004136/0.1746, allocations: 0.5821 MB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.1746, allocations: 0 / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1746, allocations: 3.938 kB / 0.6366 GB, free: 15.57 MB / 494.1 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/0.1747, allocations: 117.9 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.1747, allocations: 4 kB / 0.6367 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1748, allocations: 44.81 kB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1748, allocations: 0 / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1748, allocations: 0 / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1748, allocations: 0 / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.175, allocations: 149.6 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.175, allocations: 3.984 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.1751, allocations: 16.03 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1751, allocations: 0 / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1751, allocations: 0 / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003231/0.1754, allocations: 0.5898 MB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1754, allocations: 3.938 kB / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.003e-05/0.1755, allocations: 69.22 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.1755, allocations: 77.11 kB / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1756, allocations: 4 kB / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.592e-05/0.1756, allocations: 4 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.1756, allocations: 7.922 kB / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1756, allocations: 0 / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.783e-05/0.1756, allocations: 75.28 kB / 0.6377 GB, free: 14.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1757, allocations: 7.938 kB / 0.6377 GB, free: 14.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001818/0.1758, allocations: 12.06 kB / 0.6377 GB, free: 14.27 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001816/0.176, allocations: 111.2 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1762, allocations: 23.92 kB / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1762, allocations: 3.938 kB / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.1763, allocations: 15.98 kB / 0.6378 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.1765, allocations: 0 / 0.6378 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.1768, allocations: 114.1 kB / 0.638 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1771, allocations: 0.6729 MB / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.564e-05/0.1771, allocations: 4 kB / 0.6386 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.1772, allocations: 7.438 kB / 0.6386 GB, free: 13.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1772, allocations: 0 / 0.6386 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Templates: time 0.002622/0.1798, allocations: 442.7 kB / 0.639 GB, free: 12.83 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)