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.001035/0.001035, allocations: 115.1 kB / 17.04 MB, free: 5.793 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.001065/0.001065, allocations: 195 kB / 17.98 MB, free: 5.02 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.25/1.25, 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.7127/0.7127, allocations: 115.1 MB / 407 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 60.12 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.347, allocations: 76.15 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002007/0.349, allocations: 1.233 MB / 0.5588 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007617/0.3498, allocations: 0.5893 MB / 0.5594 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.3499, allocations: 0 / 0.5594 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.3499, allocations: 7.875 kB / 0.5594 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.3499, allocations: 2.031 kB / 0.5594 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.3504, allocations: 144.7 kB / 0.5595 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.336e-05/0.3505, allocations: 9.688 kB / 0.5595 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.3505, allocations: 6.531 kB / 0.5595 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.3505, allocations: 8.359 kB / 0.5595 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.3506, allocations: 3.406 kB / 0.5595 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.3506, allocations: 0 / 0.5595 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.3511, allocations: 345.1 kB / 0.5599 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.3511, allocations: 6.75 kB / 0.5599 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.3511, allocations: 0.9688 kB / 0.5599 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.3514, allocations: 141.1 kB / 0.56 GB, free: 35.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3514, allocations: 0 / 0.56 GB, free: 35.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3514, allocations: 1.344 kB / 0.56 GB, free: 35.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3514, allocations: 0 / 0.56 GB, free: 35.28 MB / 446.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.0002888/0.3517, allocations: 351.3 kB / 0.5603 GB, free: 34.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3517, allocations: 9.625 kB / 0.5604 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.3518, allocations: 2.938 kB / 0.5604 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.547e-05/0.3519, allocations: 164.2 kB / 0.5605 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-06/0.3519, allocations: 384 / 0.5605 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.3519, allocations: 1.906 kB / 0.5605 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.194e-05/0.352, allocations: 32.28 kB / 0.5605 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.352, allocations: 2.484 kB / 0.5605 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.352, allocations: 5.219 kB / 0.5606 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.352, allocations: 0.9688 kB / 0.5606 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.352, allocations: 3.5 kB / 0.5606 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.3521, allocations: 152.1 kB / 0.5607 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.177e-05/0.3522, allocations: 30.52 kB / 0.5607 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.3522, allocations: 8.109 kB / 0.5607 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.3522, allocations: 1.859 kB / 0.5607 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.179e-05/0.3522, allocations: 33.84 kB / 0.5608 GB, free: 34.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3522, allocations: 0 / 0.5608 GB, free: 34.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.3524, allocations: 52.56 kB / 0.5608 GB, free: 34.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.3524, allocations: 53.52 kB / 0.5609 GB, free: 34.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.463e-05/0.3524, allocations: 93.22 kB / 0.561 GB, free: 34.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.3525, allocations: 28.86 kB / 0.561 GB, free: 34.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.219e-05/0.3525, allocations: 80.14 kB / 0.5611 GB, free: 34.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.3525, allocations: 13.66 kB / 0.5611 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.3525, allocations: 13.08 kB / 0.5611 GB, free: 34.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.855e-05/0.3526, allocations: 313.4 kB / 0.5614 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.3526, allocations: 10.89 kB / 0.5614 GB, free: 33.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-06/0.3526, allocations: 7.141 kB / 0.5614 GB, free: 33.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.3526, allocations: 11.14 kB / 0.5614 GB, free: 33.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3526, allocations: 1.484 kB / 0.5614 GB, free: 33.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.551e-05/0.3527, allocations: 44.44 kB / 0.5615 GB, free: 33.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3527, allocations: 9.031 kB / 0.5615 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3527, allocations: 6.969 kB / 0.5615 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3527, allocations: 0.6094 kB / 0.5615 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3529, allocations: 9.188 kB / 0.5615 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002171/0.3531, allocations: 0.5806 MB / 0.5621 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.3531, allocations: 2.75 kB / 0.5621 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.3531, allocations: 0.6094 kB / 0.5621 GB, free: 33.09 MB / 446.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 4.598e-05/0.3532, allocations: 112.8 kB / 0.5622 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.3532, allocations: 2.344 kB / 0.5622 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.482e-05/0.3533, allocations: 48.73 kB / 0.5622 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3533, allocations: 1.094 kB / 0.5622 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3533, allocations: 0.6094 kB / 0.5622 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3533, allocations: 2.938 kB / 0.5622 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.43e-05/0.3534, allocations: 158.8 kB / 0.5624 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3534, allocations: 0.75 kB / 0.5624 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.3535, allocations: 10.92 kB / 0.5624 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3535, allocations: 2.094 kB / 0.5624 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.3535, allocations: 0.6562 kB / 0.5624 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001621/0.3537, allocations: 0.5857 MB / 0.563 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3537, allocations: 7.875 kB / 0.563 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.905e-05/0.3537, allocations: 63.05 kB / 0.563 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.3537, allocations: 79.16 kB / 0.5631 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.3538, allocations: 2.391 kB / 0.5631 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.3538, allocations: 0.5938 kB / 0.5631 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.3538, allocations: 9.391 kB / 0.5631 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.3538, allocations: 1.125 kB / 0.5631 GB, free: 31.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.758e-05/0.3538, allocations: 80.34 kB / 0.5632 GB, free: 31.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3538, allocations: 0 / 0.5632 GB, free: 31.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000189/0.354, allocations: 10.64 kB / 0.5632 GB, free: 31.89 MB / 446.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.0001288/0.3542, allocations: 107.9 kB / 0.5633 GB, free: 31.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.3543, allocations: 28.42 kB / 0.5633 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3543, allocations: 1.688 kB / 0.5633 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.3544, allocations: 14.95 kB / 0.5633 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.3545, allocations: 3.531 kB / 0.5633 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.3548, allocations: 108.7 kB / 0.5635 GB, free: 31.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.848e-05/0.3549, allocations: 0.6733 MB / 0.5641 GB, free: 30.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.435e-05/0.3549, allocations: 6.609 kB / 0.5641 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.3549, allocations: 8.469 kB / 0.5641 GB, free: 30.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3549, allocations: 4.531 kB / 0.5641 GB, free: 30.97 MB / 446.1 MB Notification: Performance of Templates: time 0.002147/0.3571, allocations: 460.1 kB / 0.5646 GB, free: 30.95 MB / 446.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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)