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.0009006/0.0009006, allocations: 98.42 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008838/0.0008838, allocations: 180.3 kB / 16.92 MB, free: 6.922 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.58/1.58, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8474/0.8474, allocations: 126.9 MB / 419 MB, free: 7.301 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005957/0.0005957, allocations: 11.94 kB / 0.498 GB, free: 9.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4758, allocations: 80.24 MB / 0.5763 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001383/0.4773, allocations: 0.9665 MB / 0.5773 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.4782, allocations: 0.5761 MB / 0.5779 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.4782, allocations: 0 / 0.5779 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.4782, allocations: 4.547 kB / 0.5779 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.4783, allocations: 5.922 kB / 0.5779 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.4787, allocations: 119.2 kB / 0.578 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.4788, allocations: 10.2 kB / 0.578 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.4788, allocations: 1.641 kB / 0.578 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.4789, allocations: 10.31 kB / 0.578 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.4789, allocations: 7.672 kB / 0.578 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.4789, allocations: 0.8438 kB / 0.578 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005329/0.4795, allocations: 343.1 kB / 0.5783 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.4795, allocations: 1.312 kB / 0.5783 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.4795, allocations: 35.92 kB / 0.5784 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.4798, allocations: 132.8 kB / 0.5785 GB, free: 6.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4798, allocations: 0.875 kB / 0.5785 GB, free: 6.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4798, allocations: 0 / 0.5785 GB, free: 6.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.4798, allocations: 3.938 kB / 0.5785 GB, free: 6.527 MB / 430.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.0003274/0.4801, allocations: 351.8 kB / 0.5788 GB, free: 6.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4802, allocations: 9.547 kB / 0.5788 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.4802, allocations: 10 kB / 0.5789 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.09e-05/0.4803, allocations: 163 kB / 0.579 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.4803, allocations: 384 / 0.579 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.4803, allocations: 2.062 kB / 0.579 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.832e-05/0.4804, allocations: 34.7 kB / 0.579 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.4805, allocations: 0 / 0.579 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4805, allocations: 0.9375 kB / 0.579 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.4805, allocations: 0 / 0.579 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.883e-05/0.4805, allocations: 7.234 kB / 0.5791 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.4807, allocations: 151.6 kB / 0.5792 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.292e-05/0.4807, allocations: 28.8 kB / 0.5792 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.4807, allocations: 12.23 kB / 0.5792 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.4808, allocations: 5.047 kB / 0.5792 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.4808, allocations: 36.77 kB / 0.5793 GB, free: 5.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4808, allocations: 4 kB / 0.5793 GB, free: 5.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001602/0.481, allocations: 45.03 kB / 0.5793 GB, free: 5.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.481, allocations: 51.41 kB / 0.5794 GB, free: 5.523 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.725e-05/0.4811, allocations: 94.02 kB / 0.5795 GB, free: 5.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.4811, allocations: 25.7 kB / 0.5795 GB, free: 5.395 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.636e-05/0.4811, allocations: 81.86 kB / 0.5796 GB, free: 5.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.4811, allocations: 8.906 kB / 0.5796 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.4812, allocations: 12 kB / 0.5796 GB, free: 5.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.4812, allocations: 315.4 kB / 0.5799 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.4812, allocations: 2.578 kB / 0.5799 GB, free: 4.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/0.4812, allocations: 2.031 kB / 0.5799 GB, free: 4.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.4813, allocations: 15.39 kB / 0.5799 GB, free: 4.961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4813, allocations: 0 / 0.5799 GB, free: 4.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.53e-05/0.4813, allocations: 44.47 kB / 0.5799 GB, free: 4.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4814, allocations: 5.484 kB / 0.58 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4814, allocations: 4.094 kB / 0.58 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4814, allocations: 1.594 kB / 0.58 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4816, allocations: 9.5 kB / 0.58 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000254/0.4818, allocations: 0.587 MB / 0.5805 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.4818, allocations: 1.531 kB / 0.5805 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4819, allocations: 1 kB / 0.5805 GB, free: 4.324 MB / 430.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 5.391e-05/0.4819, allocations: 119.7 kB / 0.5807 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.4819, allocations: 5.328 kB / 0.5807 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.12e-05/0.482, allocations: 48.09 kB / 0.5807 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.482, allocations: 0.6094 kB / 0.5807 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4821, allocations: 1.781 kB / 0.5807 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4821, allocations: 0 / 0.5807 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.813e-05/0.4821, allocations: 155.2 kB / 0.5809 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4821, allocations: 0 / 0.5809 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.4822, allocations: 10.22 kB / 0.5809 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4822, allocations: 4.734 kB / 0.5809 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.4822, allocations: 1.406 kB / 0.5809 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001694/0.4824, allocations: 0.5872 MB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4824, allocations: 1.312 kB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.633e-05/0.4825, allocations: 64.33 kB / 0.5815 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.4825, allocations: 82.56 kB / 0.5816 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.4825, allocations: 1.453 kB / 0.5816 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.4825, allocations: 8.812 kB / 0.5816 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.4825, allocations: 1.562 kB / 0.5816 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4826, allocations: 1.562 kB / 0.5816 GB, free: 3.184 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.767e-05/0.4826, allocations: 77.97 kB / 0.5817 GB, free: 3.109 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4826, allocations: 0 / 0.5817 GB, free: 3.109 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.4828, allocations: 15.22 kB / 0.5817 GB, free: 3.102 MB / 430.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.0001564/0.4829, allocations: 113 kB / 0.5818 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.4831, allocations: 20.88 kB / 0.5818 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4831, allocations: 0 / 0.5818 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.4832, allocations: 17.62 kB / 0.5818 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.4834, allocations: 5.469 kB / 0.5818 GB, free: 2.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.4836, allocations: 112.4 kB / 0.5819 GB, free: 2.883 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.884e-05/0.4837, allocations: 0.6776 MB / 0.5826 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.444e-05/0.4838, allocations: 0 / 0.5826 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.004e-05/0.4838, allocations: 8.875 kB / 0.5826 GB, free: 2.18 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4838, allocations: 0 / 0.5826 GB, free: 2.18 MB / 430.1 MB Notification: Performance of Templates: time 0.002764/0.4866, allocations: 427.8 kB / 0.583 GB, free: 2.113 MB / 430.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)