Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0009743/0.0009743, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001076/0.001076, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.002/1.002, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.002279/0.002279, allocations: 245.5 kB / 260.5 MB, free: 12.66 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.7399/0.7399, allocations: 138.4 MB / 455.5 MB, free: 30.05 MB / 410.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 3.938 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.546e-05, allocations: 6.109 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001735/0.00176, allocations: 1.291 MB / 0.5568 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006874/0.002447, allocations: 0.5526 MB / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.002474, allocations: 0 / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.002494, allocations: 3.938 kB / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.002538, allocations: 0 / 0.5574 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.002893, allocations: 143.2 kB / 0.5575 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.131e-05/0.002934, allocations: 7.938 kB / 0.5575 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.00297, allocations: 11.98 kB / 0.5575 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.003, allocations: 0 / 0.5575 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.054e-05/0.003041, allocations: 8 kB / 0.5575 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.003052, allocations: 0 / 0.5575 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.003316, allocations: 279.3 kB / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.003328, allocations: 0 / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.003344, allocations: 0 / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.003524, allocations: 151.5 kB / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003526, allocations: 0 / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003527, allocations: 0 / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.00353, allocations: 0 / 0.558 GB, free: 13.4 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.0002851/0.003815, allocations: 380.3 kB / 0.5583 GB, free: 12.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.003852, allocations: 8.75 kB / 0.5583 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/0.003875, allocations: 8.891 kB / 0.5583 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.064e-05/0.003946, allocations: 112.6 kB / 0.5584 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.003955, allocations: 384 / 0.5584 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.003963, allocations: 4.312 kB / 0.5585 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.082e-05/0.004024, allocations: 38.23 kB / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.00403, allocations: 192 / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.004036, allocations: 384 / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004041, allocations: 384 / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.083e-05/0.004051, allocations: 7.938 kB / 0.5585 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.488e-05/0.004146, allocations: 93.27 kB / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.691e-05/0.004183, allocations: 39.08 kB / 0.5586 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.004196, allocations: 19.56 kB / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.004216, allocations: 3 kB / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.004235, allocations: 37.45 kB / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.004235, allocations: 0 / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 8.875e-05/0.004324, allocations: 37.7 kB / 0.5587 GB, free: 12.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.004347, allocations: 51.41 kB / 0.5588 GB, free: 12.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.892e-05/0.004406, allocations: 157.9 kB / 0.5589 GB, free: 12.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.004413, allocations: 25.95 kB / 0.5589 GB, free: 12.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.004444, allocations: 130.9 kB / 0.5591 GB, free: 12.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.004466, allocations: 7.938 kB / 0.5591 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.004486, allocations: 19.38 kB / 0.5591 GB, free: 12.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.004594, allocations: 500 kB / 0.5596 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-06/0.004601, allocations: 4 kB / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-06/0.004608, allocations: 3.984 kB / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.968e-05/0.004628, allocations: 15.69 kB / 0.5596 GB, free: 11.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004629, allocations: 0 / 0.5596 GB, free: 11.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.624e-05/0.004665, allocations: 33.7 kB / 0.5596 GB, free: 11.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.004675, allocations: 8.094 kB / 0.5596 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.004679, allocations: 0 / 0.5596 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.00469, allocations: 4 kB / 0.5596 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.004793, allocations: 11.98 kB / 0.5596 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002968/0.005089, allocations: 0.8971 MB / 0.5605 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.005101, allocations: 3.953 kB / 0.5605 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.005105, allocations: 0 / 0.5605 GB, free: 10.55 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 5.577e-05/0.005161, allocations: 156.6 kB / 0.5607 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-06/0.005165, allocations: 8.062 kB / 0.5607 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.201e-05/0.005237, allocations: 52.88 kB / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.005239, allocations: 0 / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.00524, allocations: 0 / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005243, allocations: 0 / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.439e-05/0.005297, allocations: 97.25 kB / 0.5608 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005298, allocations: 0 / 0.5608 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.005338, allocations: 8 kB / 0.5608 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005339, allocations: 0 / 0.5608 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.005342, allocations: 0 / 0.5608 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002355/0.005578, allocations: 0.9011 MB / 0.5617 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005578, allocations: 3.938 kB / 0.5617 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.411e-05/0.005623, allocations: 68.39 kB / 0.5618 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.00563, allocations: 11.88 kB / 0.5618 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-06/0.005638, allocations: 3.984 kB / 0.5618 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-06/0.005644, allocations: 0 / 0.5618 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-06/0.005653, allocations: 4 kB / 0.5618 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.005656, allocations: 4 kB / 0.5618 GB, free: 9.145 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.005685, allocations: 127.3 kB / 0.5619 GB, free: 9.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005686, allocations: 0 / 0.5619 GB, free: 9.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001161/0.005802, allocations: 8 kB / 0.5619 GB, free: 9.012 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.0001088/0.00591, allocations: 107.2 kB / 0.562 GB, free: 8.898 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.006002, allocations: 27.67 kB / 0.5621 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006003, allocations: 0 / 0.5621 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.31e-05/0.006036, allocations: 23.61 kB / 0.5621 GB, free: 8.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.353e-05/0.00613, allocations: 4.219 kB / 0.5621 GB, free: 8.836 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.006329, allocations: 114.3 kB / 0.5622 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.006353, allocations: 51.36 kB / 0.5622 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.227e-05/0.006366, allocations: 0 / 0.5622 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.006391, allocations: 70.2 kB / 0.5623 GB, free: 8.555 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006392, allocations: 0 / 0.5623 GB, free: 8.555 MB / 490.7 MB Notification: Performance of Templates: time 0.001821/0.008213, allocations: 0.524 MB / 0.5628 GB, free: 8.078 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.548877114895731]