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.001199/0.001199, allocations: 116.5 kB / 17.09 MB, free: 6.008 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.0009468/0.0009468, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.205/1.205, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6679/0.6679, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.36 kB / 0.5583 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1127, allocations: 76.18 MB / 0.6327 GB, free: 4.555 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002042/0.1148, allocations: 1.247 MB / 0.6339 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009219/0.1157, allocations: 0.5803 MB / 0.6345 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.1157, allocations: 0 / 0.6345 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.1158, allocations: 0 / 0.6345 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/0.1158, allocations: 3.938 kB / 0.6345 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.1163, allocations: 146 kB / 0.6347 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.168e-05/0.1163, allocations: 15.86 kB / 0.6347 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.1164, allocations: 4 kB / 0.6347 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.543e-05/0.1164, allocations: 4 kB / 0.6347 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.1164, allocations: 4 kB / 0.6347 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.639e-06/0.1164, allocations: 0 / 0.6347 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.117, allocations: 339.4 kB / 0.635 GB, free: 2.211 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-06/0.117, allocations: 4 kB / 0.635 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.117, allocations: 11.88 kB / 0.635 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1172, allocations: 131.8 kB / 0.6351 GB, free: 2.066 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1172, allocations: 0 / 0.6351 GB, free: 2.066 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1172, allocations: 3.938 kB / 0.6352 GB, free: 2.062 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1173, allocations: 3.938 kB / 0.6352 GB, free: 2.059 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.0003325/0.1176, allocations: 359.4 kB / 0.6355 GB, free: 1.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1176, allocations: 8.031 kB / 0.6355 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.1177, allocations: 4.938 kB / 0.6355 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1178, allocations: 172.2 kB / 0.6357 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1178, allocations: 384 / 0.6357 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1178, allocations: 384 / 0.6357 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.498e-05/0.1179, allocations: 38.25 kB / 0.6357 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1179, allocations: 192 / 0.6357 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.1179, allocations: 7.938 kB / 0.6357 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1179, allocations: 3.984 kB / 0.6357 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.1179, allocations: 4 kB / 0.6357 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.1181, allocations: 149.7 kB / 0.6359 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/0.1181, allocations: 26.53 kB / 0.6359 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.1181, allocations: 12.92 kB / 0.6359 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1182, allocations: 0 / 0.6359 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1182, allocations: 34.56 kB / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1182, allocations: 0 / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001179/0.1183, allocations: 45.62 kB / 0.636 GB, free: 1.039 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.1183, allocations: 51.41 kB / 0.636 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.1184, allocations: 97.8 kB / 0.6361 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.1184, allocations: 29.7 kB / 0.6362 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.1185, allocations: 80.14 kB / 0.6362 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.1185, allocations: 4.156 kB / 0.6362 GB, free: 0.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.1185, allocations: 21.72 kB / 0.6363 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.1186, allocations: 314.8 kB / 0.6366 GB, free: 416 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-06/0.1186, allocations: 0 / 0.6366 GB, free: 416 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.1186, allocations: 4 kB / 0.6366 GB, free: 412 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.573e-05/0.1187, allocations: 12.86 kB / 0.6366 GB, free: 396 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1187, allocations: 3.938 kB / 0.6366 GB, free: 392 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.26e-05/0.1187, allocations: 33.7 kB / 0.6366 GB, free: 352 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1187, allocations: 13.81 kB / 0.6366 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1188, allocations: 0 / 0.6366 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1188, allocations: 7.922 kB / 0.6366 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1189, allocations: 11.94 kB / 0.6366 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003116/0.1192, allocations: 0.5821 MB / 0.6372 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.1193, allocations: 4 kB / 0.6372 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1193, allocations: 0 / 0.6372 GB, free: 15.7 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 6.843e-05/0.1193, allocations: 121.9 kB / 0.6373 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-06/0.1194, allocations: 0 / 0.6373 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.1194, allocations: 44.77 kB / 0.6374 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1195, allocations: 3.984 kB / 0.6374 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1195, allocations: 3.938 kB / 0.6374 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.1195, allocations: 81.02 kB / 0.6375 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.1195, allocations: 4 kB / 0.6375 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.568e-05/0.1195, allocations: 4.031 kB / 0.6375 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.1195, allocations: 3.938 kB / 0.6375 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001654/0.1197, allocations: 129.8 kB / 0.6376 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001182/0.1198, allocations: 222.8 kB / 0.6378 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.514e-05/0.1199, allocations: 4.141 kB / 0.6378 GB, free: 15.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.333e-05/0.1199, allocations: 83.28 kB / 0.6379 GB, free: 14.95 MB / 494.1 MB Notification: Performance of Backend: time 2.1e-07/0.1199, allocations: 0 / 0.6379 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005195/0.1204, allocations: 142.3 kB / 0.638 GB, free: 14.8 MB / 494.1 MB Notification: Performance of SimCode: time 0.000355/0.1208, allocations: 0.5618 MB / 0.6386 GB, free: 14.19 MB / 494.1 MB Notification: Performance of Templates: time 0.002815/0.1236, allocations: 1.105 MB / 0.6397 GB, free: 13.09 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)