Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 114.5 kB / 17.08 MB, free: 6.004 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.001352/0.001352, allocations: 193.8 kB / 18.02 MB, free: 5.082 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7293/0.7293, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 70.53 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1492, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002402/0.1517, allocations: 1.231 MB / 0.6339 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009992/0.1527, allocations: 0.5803 MB / 0.6345 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.1527, allocations: 0 / 0.6345 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.1528, allocations: 0 / 0.6345 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.1528, allocations: 11.97 kB / 0.6345 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.1533, allocations: 142.3 kB / 0.6346 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.091e-05/0.1534, allocations: 15.92 kB / 0.6347 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.1534, allocations: 4 kB / 0.6347 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.1535, allocations: 4 kB / 0.6347 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.1535, allocations: 0 / 0.6347 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1535, allocations: 0 / 0.6347 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005234/0.1541, allocations: 347.3 kB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.1541, allocations: 0 / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.1541, allocations: 11.88 kB / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1544, allocations: 139.7 kB / 0.6351 GB, free: 1.934 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1544, allocations: 7.922 kB / 0.6352 GB, free: 1.926 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1544, allocations: 4 kB / 0.6352 GB, free: 1.922 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1544, allocations: 4 kB / 0.6352 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.0003874/0.1548, allocations: 351.5 kB / 0.6355 GB, free: 1.523 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1548, allocations: 8.031 kB / 0.6355 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.1549, allocations: 0.9375 kB / 0.6355 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.155, allocations: 164.3 kB / 0.6357 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.155, allocations: 4.375 kB / 0.6357 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.155, allocations: 384 / 0.6357 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1551, allocations: 42.25 kB / 0.6357 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1551, allocations: 4.125 kB / 0.6357 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1551, allocations: 3.938 kB / 0.6357 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1552, allocations: 0 / 0.6357 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.667e-05/0.1552, allocations: 8 kB / 0.6357 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1553, allocations: 145.7 kB / 0.6359 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.344e-05/0.1554, allocations: 26.61 kB / 0.6359 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.1554, allocations: 4.859 kB / 0.6359 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1555, allocations: 8.062 kB / 0.6359 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1555, allocations: 30.56 kB / 0.6359 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.1555, allocations: 0 / 0.6359 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.1556, allocations: 49.56 kB / 0.636 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.1557, allocations: 51.41 kB / 0.636 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.1558, allocations: 93.86 kB / 0.6361 GB, free: 0.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1558, allocations: 29.95 kB / 0.6361 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.1558, allocations: 84.14 kB / 0.6362 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1558, allocations: 7.906 kB / 0.6362 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.1559, allocations: 9.719 kB / 0.6362 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.156, allocations: 314.8 kB / 0.6365 GB, free: 296 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.156, allocations: 8 kB / 0.6365 GB, free: 288 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-06/0.156, allocations: 0 / 0.6365 GB, free: 288 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.1561, allocations: 20.73 kB / 0.6366 GB, free: 264 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1561, allocations: 4.062 kB / 0.6366 GB, free: 260 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.581e-05/0.1561, allocations: 37.7 kB / 0.6366 GB, free: 216 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1561, allocations: 4 kB / 0.6366 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1562, allocations: 11.91 kB / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1562, allocations: 0 / 0.6366 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1563, allocations: 8 kB / 0.6366 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003787/0.1567, allocations: 0.5821 MB / 0.6372 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.1568, allocations: 8.094 kB / 0.6372 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.1568, allocations: 3.938 kB / 0.6372 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.059e-05/0.1569, allocations: 113.8 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-06/0.1569, allocations: 4 kB / 0.6373 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.623e-05/0.157, allocations: 44.81 kB / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.157, allocations: 4 kB / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.157, allocations: 0 / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.157, allocations: 4.031 kB / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.499e-05/0.1571, allocations: 149.6 kB / 0.6375 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1571, allocations: 0 / 0.6375 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.1572, allocations: 11.98 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1572, allocations: 0 / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1572, allocations: 0 / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002958/0.1575, allocations: 0.5859 MB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1575, allocations: 4.031 kB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.424e-05/0.1576, allocations: 69.16 kB / 0.6382 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.1576, allocations: 81.11 kB / 0.6382 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1576, allocations: 4 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.1577, allocations: 4 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.1577, allocations: 11.86 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1577, allocations: 0 / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.264e-05/0.1577, allocations: 83.31 kB / 0.6383 GB, free: 14.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1577, allocations: 0 / 0.6383 GB, free: 14.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001848/0.1579, allocations: 11.94 kB / 0.6384 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.0001616/0.1581, allocations: 107.2 kB / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1583, allocations: 23.98 kB / 0.6385 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1583, allocations: 3.938 kB / 0.6385 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.1584, allocations: 8.156 kB / 0.6385 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.1585, allocations: 9.953 kB / 0.6385 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.1589, allocations: 133.3 kB / 0.6386 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.1592, allocations: 0.6768 MB / 0.6393 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.1592, allocations: 7.438 kB / 0.6393 GB, free: 13.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1592, allocations: 0 / 0.6393 GB, free: 13.23 MB / 494.1 MB Notification: Performance of Templates: time 0.002289/0.1615, allocations: 0.6997 MB / 0.64 GB, free: 12.54 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)