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.00149/0.00149, allocations: 114.1 kB / 17.09 MB, free: 5.996 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.001749/0.00175, allocations: 194.7 kB / 18.03 MB, free: 5.074 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.331/1.331, 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.7837/0.7837, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.38 kB / 0.5737 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1219, allocations: 78.71 MB / 0.6506 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00213/0.1241, allocations: 1.229 MB / 0.6518 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009137/0.125, allocations: 0.5974 MB / 0.6524 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.1251, allocations: 0 / 0.6524 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.1251, allocations: 3.938 kB / 0.6524 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.809e-05/0.1252, allocations: 4 kB / 0.6524 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.1257, allocations: 131.4 kB / 0.6525 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.747e-05/0.1257, allocations: 23.91 kB / 0.6525 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.1258, allocations: 4 kB / 0.6525 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.1258, allocations: 4 kB / 0.6525 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.758e-05/0.1258, allocations: 3.938 kB / 0.6525 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.1259, allocations: 0 / 0.6525 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.1264, allocations: 347.3 kB / 0.6529 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.1264, allocations: 3.938 kB / 0.6529 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.1264, allocations: 0 / 0.6529 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1267, allocations: 143.6 kB / 0.653 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1267, allocations: 0 / 0.653 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1267, allocations: 0 / 0.653 GB, free: 1.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1267, allocations: 8 kB / 0.653 GB, free: 1.598 MB / 494.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.000361/0.1271, allocations: 363 kB / 0.6534 GB, free: 1.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1271, allocations: 8.031 kB / 0.6534 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.1271, allocations: 0.9375 kB / 0.6534 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1272, allocations: 160.4 kB / 0.6535 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.1273, allocations: 384 / 0.6535 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1273, allocations: 4.375 kB / 0.6535 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.834e-05/0.1274, allocations: 33.62 kB / 0.6536 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1274, allocations: 8 kB / 0.6536 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.1274, allocations: 0 / 0.6536 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1274, allocations: 0 / 0.6536 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.542e-05/0.1274, allocations: 8 kB / 0.6536 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.1276, allocations: 141.7 kB / 0.6537 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.1276, allocations: 34.53 kB / 0.6538 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.1276, allocations: 4.859 kB / 0.6538 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1277, allocations: 3.938 kB / 0.6538 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1277, allocations: 38.62 kB / 0.6538 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1277, allocations: 0 / 0.6538 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001326/0.1278, allocations: 41.64 kB / 0.6538 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.1279, allocations: 55.39 kB / 0.6539 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.836e-05/0.1279, allocations: 93.86 kB / 0.654 GB, free: 440 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.128, allocations: 29.7 kB / 0.654 GB, free: 404 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.128, allocations: 80.39 kB / 0.6541 GB, free: 320 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.128, allocations: 11.89 kB / 0.6541 GB, free: 308 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.1281, allocations: 13.72 kB / 0.6541 GB, free: 288 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1282, allocations: 314.8 kB / 0.6544 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.1282, allocations: 7.984 kB / 0.6544 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.1282, allocations: 4 kB / 0.6544 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.1282, allocations: 8.859 kB / 0.6544 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1282, allocations: 4 kB / 0.6544 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.818e-05/0.1283, allocations: 49.64 kB / 0.6545 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1283, allocations: 4 kB / 0.6545 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.1283, allocations: 0 / 0.6545 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1284, allocations: 3.938 kB / 0.6545 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1285, allocations: 11.98 kB / 0.6545 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003231/0.1288, allocations: 0.5821 MB / 0.6551 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.1289, allocations: 0 / 0.6551 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1289, allocations: 8.156 kB / 0.6551 GB, free: 15.25 MB / 0.4981 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 (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.448e-05/0.1289, allocations: 123.1 kB / 0.6552 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.129, allocations: 0 / 0.6552 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.496e-05/0.1291, allocations: 48.75 kB / 0.6552 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1291, allocations: 0 / 0.6552 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1291, allocations: 0 / 0.6552 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.1291, allocations: 85.09 kB / 0.6553 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.1291, allocations: 3.938 kB / 0.6553 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.1291, allocations: 4.031 kB / 0.6553 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.1292, allocations: 3.984 kB / 0.6553 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001645/0.1293, allocations: 133.8 kB / 0.6555 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001341/0.1295, allocations: 222.7 kB / 0.6557 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.986e-05/0.1295, allocations: 12.16 kB / 0.6557 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.1296, allocations: 83.2 kB / 0.6558 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of Backend: time 3e-07/0.1296, allocations: 0 / 0.6558 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005733/0.1301, allocations: 154 kB / 0.6559 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0005372/0.1307, allocations: 0.5537 MB / 0.6565 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.003311/0.134, allocations: 1.109 MB / 0.6575 GB, free: 12.63 MB / 0.4981 GB 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)