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.002027/0.002027, allocations: 89.48 kB / 19.44 MB, free: 336 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.002103/0.002103, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.536/1.536, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003247/0.003247, allocations: 237.4 kB / 259.8 MB, free: 12.86 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 1.205/1.205, allocations: 138.5 MB / 454.7 MB, free: 1.449 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_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.943e-06/1.943e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.853e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002527/0.002555, allocations: 1.27 MB / 0.5556 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.00371, allocations: 0.5604 MB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.003735, allocations: 4 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.003748, allocations: 0 / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.003796, allocations: 0 / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.004336, allocations: 147.2 kB / 0.5562 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.514e-05/0.004391, allocations: 15.92 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.004427, allocations: 4 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.485e-05/0.004462, allocations: 3.984 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.004508, allocations: 4 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.004522, allocations: 4 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.00502, allocations: 267.4 kB / 0.5565 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.005032, allocations: 4 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.005048, allocations: 0 / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.005492, allocations: 151.5 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005495, allocations: 0 / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005495, allocations: 0 / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.005499, allocations: 0 / 0.5567 GB, free: 14.41 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.0004868/0.005986, allocations: 383.9 kB / 0.557 GB, free: 13.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.006031, allocations: 12.75 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.006075, allocations: 8.875 kB / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.006199, allocations: 108.6 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.006211, allocations: 384 / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.006218, allocations: 384 / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.943e-05/0.006318, allocations: 38.25 kB / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006327, allocations: 4.125 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.006335, allocations: 384 / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.006339, allocations: 384 / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.172e-05/0.006371, allocations: 7.938 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.006552, allocations: 108.6 kB / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.006631, allocations: 43.03 kB / 0.5574 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.006656, allocations: 11.75 kB / 0.5574 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.006682, allocations: 3.984 kB / 0.5574 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.006716, allocations: 33.39 kB / 0.5574 GB, free: 13.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.006717, allocations: 0 / 0.5574 GB, free: 13.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.006875, allocations: 41.7 kB / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.006921, allocations: 55.34 kB / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.007046, allocations: 161.9 kB / 0.5577 GB, free: 13.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.007067, allocations: 29.7 kB / 0.5577 GB, free: 13.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.007143, allocations: 131.1 kB / 0.5578 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.007167, allocations: 3.953 kB / 0.5578 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.007202, allocations: 19.38 kB / 0.5578 GB, free: 13.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.007453, allocations: 496.1 kB / 0.5583 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.007467, allocations: 4 kB / 0.5583 GB, free: 12.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.007475, allocations: 0 / 0.5583 GB, free: 12.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.007512, allocations: 19.67 kB / 0.5583 GB, free: 12.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007514, allocations: 0 / 0.5583 GB, free: 12.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.13e-05/0.007585, allocations: 45.59 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.007598, allocations: 6.906 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.007602, allocations: 4 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.007616, allocations: 4 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.007765, allocations: 11.98 kB / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006142/0.00838, allocations: 0.8972 MB / 0.5593 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.008396, allocations: 0 / 0.5593 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.008401, allocations: 0 / 0.5593 GB, free: 11.52 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 0.0001122/0.008513, allocations: 156.6 kB / 0.5594 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.008526, allocations: 7.938 kB / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.008634, allocations: 53 kB / 0.5595 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.008635, allocations: 0 / 0.5595 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.008638, allocations: 0 / 0.5595 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.008641, allocations: 4 kB / 0.5595 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.008742, allocations: 112.6 kB / 0.5596 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.008743, allocations: 0 / 0.5596 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.008819, allocations: 8 kB / 0.5596 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008821, allocations: 0 / 0.5596 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.008829, allocations: 7.938 kB / 0.5596 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005769/0.009406, allocations: 0.8972 MB / 0.5605 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.009412, allocations: 7.922 kB / 0.5605 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.009517, allocations: 80.34 kB / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-06/0.009522, allocations: 0 / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.009536, allocations: 3.984 kB / 0.5606 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.62e-05/0.009552, allocations: 4 kB / 0.5606 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.00957, allocations: 0 / 0.5606 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.009572, allocations: 0 / 0.5606 GB, free: 10.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.112e-05/0.009643, allocations: 127.2 kB / 0.5607 GB, free: 9.957 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009643, allocations: 4.188 kB / 0.5607 GB, free: 9.953 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.009823, allocations: 7.938 kB / 0.5607 GB, free: 9.945 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.0001953/0.01002, allocations: 111.2 kB / 0.5608 GB, free: 9.828 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.0102, allocations: 27.61 kB / 0.5608 GB, free: 9.797 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.0102, allocations: 0 / 0.5608 GB, free: 9.797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.0103, allocations: 27.67 kB / 0.5609 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.01044, allocations: 4.953 kB / 0.5609 GB, free: 9.762 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.01077, allocations: 118.5 kB / 0.561 GB, free: 9.617 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.55e-05/0.01082, allocations: 55.36 kB / 0.561 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.414e-05/0.01084, allocations: 0 / 0.561 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.01085, allocations: 8.5 kB / 0.561 GB, free: 9.535 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01085, allocations: 0 / 0.561 GB, free: 9.535 MB / 490.7 MB Notification: Performance of Templates: time 0.003127/0.01398, allocations: 486 kB / 0.5615 GB, free: 9.098 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: 5.893090480007231]