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.0009397/0.0009397, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001202/0.001202, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.037/1.037, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.00165/0.00165, allocations: 243.7 kB / 261.3 MB, free: 12.67 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.7623/0.7623, allocations: 138.4 MB / 456.3 MB, free: 30.04 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 2.034e-06/2.034e-06, allocations: 3.938 kB / 0.5563 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.842e-05, allocations: 6.234 kB / 0.5563 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002786/0.002815, allocations: 1.295 MB / 0.5576 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003869, allocations: 0.5487 MB / 0.5581 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.003901, allocations: 0 / 0.5581 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.003924, allocations: 7.938 kB / 0.5582 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.003978, allocations: 4 kB / 0.5582 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.004548, allocations: 143.2 kB / 0.5583 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.004605, allocations: 11.94 kB / 0.5583 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.567e-05/0.004661, allocations: 7.984 kB / 0.5583 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.538e-05/0.004697, allocations: 4 kB / 0.5583 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.004749, allocations: 4 kB / 0.5583 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.004764, allocations: 0 / 0.5583 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004526/0.005216, allocations: 275.4 kB / 0.5586 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.005234, allocations: 0 / 0.5586 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.005252, allocations: 7.984 kB / 0.5586 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.005538, allocations: 151.5 kB / 0.5587 GB, free: 13.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.005543, allocations: 0 / 0.5587 GB, free: 13.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005544, allocations: 0 / 0.5587 GB, free: 13.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.005549, allocations: 0 / 0.5587 GB, free: 13.45 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.0004153/0.005964, allocations: 372.3 kB / 0.5591 GB, free: 13.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.006011, allocations: 12.75 kB / 0.5591 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.00605, allocations: 8.891 kB / 0.5591 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.006154, allocations: 108.6 kB / 0.5592 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.006168, allocations: 4.375 kB / 0.5592 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.006174, allocations: 4.312 kB / 0.5592 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.023e-05/0.006255, allocations: 34.25 kB / 0.5593 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.006263, allocations: 192 / 0.5593 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.006271, allocations: 4.375 kB / 0.5593 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.006279, allocations: 8.297 kB / 0.5593 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.006295, allocations: 3.938 kB / 0.5593 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.006442, allocations: 101.2 kB / 0.5594 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.487e-05/0.006497, allocations: 31.08 kB / 0.5594 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.006516, allocations: 19.69 kB / 0.5594 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.00654, allocations: 0 / 0.5594 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.006566, allocations: 33.39 kB / 0.5594 GB, free: 12.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.006567, allocations: 0 / 0.5594 GB, free: 12.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001277/0.006695, allocations: 33.7 kB / 0.5595 GB, free: 12.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.006732, allocations: 55.41 kB / 0.5595 GB, free: 12.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.006823, allocations: 157.9 kB / 0.5597 GB, free: 12.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.006836, allocations: 25.7 kB / 0.5597 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.006883, allocations: 130.9 kB / 0.5598 GB, free: 12.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.006912, allocations: 8.203 kB / 0.5598 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.006947, allocations: 19.38 kB / 0.5599 GB, free: 12.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.007105, allocations: 0.4922 MB / 0.5603 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.007119, allocations: 0 / 0.5603 GB, free: 11.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.007131, allocations: 7.984 kB / 0.5603 GB, free: 11.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.007162, allocations: 11.69 kB / 0.5604 GB, free: 11.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007164, allocations: 0 / 0.5604 GB, free: 11.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.483e-05/0.007239, allocations: 37.7 kB / 0.5604 GB, free: 11.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.007253, allocations: 4 kB / 0.5604 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.007259, allocations: 4.094 kB / 0.5604 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.007269, allocations: 0 / 0.5604 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.007421, allocations: 11.98 kB / 0.5604 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004712/0.007892, allocations: 0.8932 MB / 0.5613 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.007918, allocations: 3.953 kB / 0.5613 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.007923, allocations: 0 / 0.5613 GB, free: 10.6 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 9.179e-05/0.008015, allocations: 160.6 kB / 0.5614 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.008024, allocations: 0 / 0.5614 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.008141, allocations: 56.94 kB / 0.5615 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.008145, allocations: 0 / 0.5615 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.008147, allocations: 0 / 0.5615 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.00815, allocations: 0 / 0.5615 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.807e-05/0.008249, allocations: 101.2 kB / 0.5616 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.00825, allocations: 0 / 0.5616 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.00834, allocations: 11.94 kB / 0.5616 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.008345, allocations: 0 / 0.5616 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.008349, allocations: 0 / 0.5616 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003922/0.008741, allocations: 0.8972 MB / 0.5625 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008742, allocations: 8.031 kB / 0.5625 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.008826, allocations: 68.39 kB / 0.5626 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.008839, allocations: 7.875 kB / 0.5626 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.008851, allocations: 7.984 kB / 0.5626 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.008869, allocations: 4 kB / 0.5626 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.008881, allocations: 0 / 0.5626 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.008885, allocations: 0 / 0.5626 GB, free: 9.195 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.571e-05/0.008931, allocations: 123.2 kB / 0.5627 GB, free: 9.074 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008931, allocations: 0 / 0.5627 GB, free: 9.074 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.009144, allocations: 8.125 kB / 0.5627 GB, free: 9.066 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.0002017/0.009345, allocations: 119.2 kB / 0.5628 GB, free: 8.941 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.009525, allocations: 23.67 kB / 0.5628 GB, free: 8.914 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.009527, allocations: 0 / 0.5628 GB, free: 8.914 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.009604, allocations: 27.61 kB / 0.5629 GB, free: 8.883 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.009754, allocations: 0 / 0.5629 GB, free: 8.883 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.01008, allocations: 110.5 kB / 0.563 GB, free: 8.746 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.01012, allocations: 55.36 kB / 0.563 GB, free: 8.672 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.067e-05/0.01014, allocations: 0 / 0.563 GB, free: 8.672 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.01018, allocations: 66.2 kB / 0.5631 GB, free: 8.605 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01018, allocations: 0 / 0.5631 GB, free: 8.605 MB / 490.7 MB Notification: Performance of Templates: time 0.002361/0.01254, allocations: 0.5252 MB / 0.5636 GB, free: 8.129 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.7731571961194277]