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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.049/1.049, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001892/0.001892, allocations: 241.9 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7106/0.7106, allocations: 138.4 MB / 455.2 MB, free: 1.547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.691e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002457/0.002484, allocations: 1.301 MB / 0.5564 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.003518, allocations: 0.5604 MB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.00355, allocations: 0 / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.003577, allocations: 0 / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.00363, allocations: 3.984 kB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.004189, allocations: 143.2 kB / 0.5571 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.447e-05/0.004253, allocations: 15.92 kB / 0.5571 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.004297, allocations: 0 / 0.5571 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.004331, allocations: 4 kB / 0.5571 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.004379, allocations: 4 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.004395, allocations: 0 / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.004832, allocations: 275.4 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.00485, allocations: 0 / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.004871, allocations: 3.938 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.005158, allocations: 155.5 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005161, allocations: 0 / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005162, allocations: 0 / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.005166, allocations: 0 / 0.5575 GB, free: 14.06 MB / 490.7 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.0004317/0.005598, allocations: 380.3 kB / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.005646, allocations: 8.75 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.005689, allocations: 8.938 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.005801, allocations: 108.6 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.005819, allocations: 4.375 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.005837, allocations: 4.359 kB / 0.558 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.774e-05/0.005934, allocations: 30.27 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.005947, allocations: 192 / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.005957, allocations: 384 / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.005968, allocations: 4.359 kB / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/0.005996, allocations: 11.88 kB / 0.558 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.006146, allocations: 124.6 kB / 0.5582 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.006207, allocations: 27.09 kB / 0.5582 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.006231, allocations: 7.688 kB / 0.5582 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.006262, allocations: 4.062 kB / 0.5582 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.006294, allocations: 37.33 kB / 0.5582 GB, free: 13.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.006295, allocations: 0 / 0.5582 GB, free: 13.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000165/0.00646, allocations: 45.62 kB / 0.5583 GB, free: 13.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.006494, allocations: 51.41 kB / 0.5583 GB, free: 13.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.006586, allocations: 157.9 kB / 0.5585 GB, free: 12.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.006602, allocations: 29.95 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.006651, allocations: 130.9 kB / 0.5586 GB, free: 12.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.006679, allocations: 7.953 kB / 0.5586 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.006712, allocations: 15.38 kB / 0.5587 GB, free: 12.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.00686, allocations: 0.4884 MB / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.006876, allocations: 0 / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.468e-05/0.006891, allocations: 8 kB / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.006922, allocations: 11.69 kB / 0.5591 GB, free: 12.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006925, allocations: 0 / 0.5591 GB, free: 12.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.033e-05/0.006995, allocations: 41.7 kB / 0.5592 GB, free: 12.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.007011, allocations: 4 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.007018, allocations: 3.984 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.007036, allocations: 0 / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.007216, allocations: 12 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004726/0.007689, allocations: 0.8971 MB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.007713, allocations: 4 kB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.00772, allocations: 3.984 kB / 0.5601 GB, free: 11.18 MB / 490.7 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 8.533e-05/0.007806, allocations: 156.6 kB / 0.5602 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.007819, allocations: 11.94 kB / 0.5603 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.007944, allocations: 45 kB / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.007946, allocations: 0 / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.007949, allocations: 0 / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.007953, allocations: 0 / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.19e-05/0.008035, allocations: 112.6 kB / 0.5604 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.008037, allocations: 0 / 0.5604 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.047e-05/0.008117, allocations: 11.98 kB / 0.5604 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.00812, allocations: 0 / 0.5604 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.008128, allocations: 7.938 kB / 0.5604 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003495/0.008478, allocations: 0.8972 MB / 0.5613 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.00848, allocations: 4 kB / 0.5613 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.679e-05/0.008557, allocations: 80.33 kB / 0.5614 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.008565, allocations: 7.875 kB / 0.5614 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.008576, allocations: 0 / 0.5614 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.008588, allocations: 4 kB / 0.5614 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.008607, allocations: 4 kB / 0.5614 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.008609, allocations: 0 / 0.5614 GB, free: 9.742 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.321e-05/0.008652, allocations: 123.3 kB / 0.5615 GB, free: 9.621 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008653, allocations: 0 / 0.5615 GB, free: 9.621 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.008859, allocations: 11.98 kB / 0.5615 GB, free: 9.609 MB / 490.7 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.0001504/0.009009, allocations: 111.1 kB / 0.5616 GB, free: 9.492 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.009165, allocations: 23.67 kB / 0.5617 GB, free: 9.465 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.009166, allocations: 0 / 0.5617 GB, free: 9.465 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.009218, allocations: 23.67 kB / 0.5617 GB, free: 9.438 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.009369, allocations: 12.16 kB / 0.5617 GB, free: 9.426 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.009689, allocations: 110.3 kB / 0.5618 GB, free: 9.289 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.009728, allocations: 59.34 kB / 0.5618 GB, free: 9.211 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.676e-05/0.009745, allocations: 3.984 kB / 0.5619 GB, free: 9.207 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.009763, allocations: 8.5 kB / 0.5619 GB, free: 9.199 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.009764, allocations: 0 / 0.5619 GB, free: 9.199 MB / 490.7 MB Notification: Performance of Templates: time 0.002683/0.01245, allocations: 0.4889 MB / 0.5623 GB, free: 8.75 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.778185152914375]