Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001083/0.001083, allocations: 111.6 kB / 16.42 MB, free: 6.488 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.001127/0.001127, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 282.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9143/0.9143, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 95.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3728, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002013/0.3748, allocations: 1.241 MB / 0.7683 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008958/0.3757, allocations: 0.5895 MB / 0.7688 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.3758, allocations: 4 kB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.3758, allocations: 0 / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.3758, allocations: 3.938 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.3763, allocations: 137.4 kB / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.722e-05/0.3764, allocations: 15.94 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.3764, allocations: 3.984 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.3764, allocations: 7.984 kB / 0.769 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.663e-05/0.3765, allocations: 0 / 0.769 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.3765, allocations: 4 kB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000496/0.377, allocations: 343.3 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.377, allocations: 3.984 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.377, allocations: 11.94 kB / 0.7694 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3773, allocations: 131.4 kB / 0.7695 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3773, allocations: 4 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.474e-06/0.3773, allocations: 0 / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3773, allocations: 7.938 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB 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.0003421/0.3776, allocations: 350 kB / 0.7698 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3777, allocations: 8.031 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.3777, allocations: 0.9375 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.3778, allocations: 168.3 kB / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3778, allocations: 4.375 kB / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.3778, allocations: 384 / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.3779, allocations: 38.2 kB / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.3779, allocations: 4.188 kB / 0.77 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.378, allocations: 3.938 kB / 0.77 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.378, allocations: 0 / 0.77 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.289e-05/0.378, allocations: 7.984 kB / 0.77 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.3781, allocations: 149.7 kB / 0.7702 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.071e-05/0.3782, allocations: 22.61 kB / 0.7702 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.3782, allocations: 8.859 kB / 0.7702 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3782, allocations: 15.98 kB / 0.7702 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3783, allocations: 34.56 kB / 0.7703 GB, free: 488 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3783, allocations: 0 / 0.7703 GB, free: 488 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001177/0.3784, allocations: 37.64 kB / 0.7703 GB, free: 444 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3784, allocations: 51.41 kB / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.3785, allocations: 101.8 kB / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.3785, allocations: 25.7 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.3786, allocations: 84.39 kB / 0.7706 GB, free: 148 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3786, allocations: 11.84 kB / 0.7706 GB, free: 136 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.3786, allocations: 13.72 kB / 0.7706 GB, free: 116 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3787, allocations: 310.8 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.3787, allocations: 4 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-06/0.3788, allocations: 3.938 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.3788, allocations: 20.84 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3788, allocations: 0 / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.038e-05/0.3789, allocations: 41.7 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3789, allocations: 4 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3789, allocations: 0 / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3789, allocations: 3.938 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.3791, allocations: 11.98 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003372/0.3794, allocations: 0.5821 MB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.3794, allocations: 8.094 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.3795, allocations: 4 kB / 0.7715 GB, free: 15.09 MB / 0.545 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.34e-05/0.3795, allocations: 113.8 kB / 0.7717 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.3795, allocations: 0 / 0.7717 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.041e-05/0.3796, allocations: 44.81 kB / 0.7717 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3797, allocations: 4 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3797, allocations: 0 / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.3797, allocations: 81.02 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.3797, allocations: 7.969 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.622e-05/0.3797, allocations: 3.984 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.3797, allocations: 3.938 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001738/0.3799, allocations: 129.8 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001298/0.3801, allocations: 214.8 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.861e-05/0.3801, allocations: 12.09 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.3801, allocations: 75.28 kB / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of Backend: time 3.91e-07/0.3801, allocations: 4 kB / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.3807, allocations: 158.5 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004401/0.3811, allocations: 0.5541 MB / 0.7729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of Templates: time 0.003214/0.3844, allocations: 1.113 MB / 0.774 GB, free: 12.5 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)