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.001004/0.001004, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002495, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001093/0.001093, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002504, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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/1, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08191/1.082, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001449/0.001449, allocations: 234.2 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.002614, allocations: 479.7 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6956/0.6956, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07269/0.7683, allocations: 42.4 MB / 426.7 MB, free: 5.824 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.153e-06/1.153e-06, allocations: 0 / 428 MB, free: 4.492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.152e-05, allocations: 6.25 kB / 428.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001803/0.001815, allocations: 1.356 MB / 429.4 MB, free: 3.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006569/0.002472, allocations: 0.5641 MB / 430 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.002487, allocations: 0 / 430 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.703e-06/0.002494, allocations: 4 kB / 430 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.877e-05/0.002512, allocations: 0 / 430 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.002809, allocations: 143.2 kB / 430.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.002854, allocations: 15.92 kB / 430.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.002887, allocations: 0 / 430.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.002929, allocations: 4 kB / 430.1 MB, free: 2.383 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.002973, allocations: 7.984 kB / 430.1 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.002984, allocations: 0 / 430.1 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.003381, allocations: 279.4 kB / 430.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.003393, allocations: 0 / 430.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.003406, allocations: 7.938 kB / 430.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.003607, allocations: 123.6 kB / 430.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.003617, allocations: 0 / 430.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003618, allocations: 0 / 430.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.003628, allocations: 0 / 430.5 MB, free: 1.973 MB / 410.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.0003331/0.003961, allocations: 272.2 kB / 430.8 MB, free: 1.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.003997, allocations: 8.031 kB / 430.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.004021, allocations: 0.9375 kB / 430.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.719e-05/0.004099, allocations: 109.8 kB / 430.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.004107, allocations: 4.375 kB / 430.9 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.004117, allocations: 384 / 430.9 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.003e-05/0.004177, allocations: 34.25 kB / 431 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.004183, allocations: 192 / 431 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-06/0.004187, allocations: 384 / 431 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.004192, allocations: 4.312 kB / 431 MB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.177e-05/0.004204, allocations: 11.88 kB / 431 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.641e-05/0.00428, allocations: 57.05 kB / 431 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.004317, allocations: 22.59 kB / 431.1 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.148e-05/0.004329, allocations: 8.859 kB / 431.1 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.004343, allocations: 3.984 kB / 431.1 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.004363, allocations: 38.62 kB / 431.1 MB, free: 1.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.004364, allocations: 0 / 431.1 MB, free: 1.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 7.588e-05/0.00444, allocations: 37.64 kB / 431.1 MB, free: 1.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.004464, allocations: 51.41 kB / 431.2 MB, free: 1.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.065e-05/0.004515, allocations: 106.7 kB / 431.3 MB, free: 1.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.004524, allocations: 29.7 kB / 431.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.004543, allocations: 80.14 kB / 431.4 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.004563, allocations: 8.203 kB / 431.4 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.00464, allocations: 13.72 kB / 431.4 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.004711, allocations: 314.8 kB / 431.7 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-06/0.004717, allocations: 4 kB / 431.7 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.004723, allocations: 4 kB / 431.7 MB, free: 0.625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.004745, allocations: 20.83 kB / 431.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.004746, allocations: 0 / 431.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.016e-05/0.004786, allocations: 37.64 kB / 431.8 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.004796, allocations: 4 kB / 431.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.004799, allocations: 96 / 431.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.004809, allocations: 4 kB / 431.8 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.004927, allocations: 11.98 kB / 431.8 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1948/0.1997, allocations: 0.5752 MB / 432.4 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.1997, allocations: 0 / 432.4 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1997, allocations: 1.281 kB / 432.4 MB, free: 2.07 MB / 410.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 4.358e-05/0.1998, allocations: 110.7 kB / 432.5 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.1998, allocations: 2.891 kB / 432.5 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1999, allocations: 41.45 kB / 432.5 MB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1999, allocations: 4.812 kB / 432.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.1999, allocations: 0 / 432.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1999, allocations: 1.719 kB / 432.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.786e-05/0.2, allocations: 62.97 kB / 432.6 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2, allocations: 0 / 432.6 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.2, allocations: 10.27 kB / 432.6 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.2, allocations: 3.938 kB / 432.6 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.2, allocations: 1.125 kB / 432.6 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.2, allocations: 1.125 kB / 432.6 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001684/0.2002, allocations: 0.584 MB / 433.2 MB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2002, allocations: 1.781 kB / 433.2 MB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.787e-05/0.2003, allocations: 67.56 kB / 433.3 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-06/0.2003, allocations: 1.188 kB / 433.3 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-06/0.2003, allocations: 1.25 kB / 433.3 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.2003, allocations: 3.984 kB / 433.3 MB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.2003, allocations: 0.8438 kB / 433.3 MB, free: 17.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.081e-05/0.2003, allocations: 7.266 kB / 433.3 MB, free: 17.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2003, allocations: 3.5 kB / 433.3 MB, free: 17.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001241/0.2004, allocations: 18.19 kB / 433.3 MB, free: 17.2 MB / 426.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.0001535/0.2006, allocations: 107.9 kB / 433.4 MB, free: 17.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.399e-05/0.2007, allocations: 20.73 kB / 433.4 MB, free: 17.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2007, allocations: 0.625 kB / 433.4 MB, free: 17.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.2007, allocations: 15.77 kB / 433.5 MB, free: 17.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.248e-05/0.2007, allocations: 10.91 kB / 433.5 MB, free: 17.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.2012, allocations: 104.2 kB / 433.6 MB, free: 17.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.984e-05/0.2012, allocations: 56.3 kB / 433.6 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.963e-05/0.2012, allocations: 4 kB / 433.6 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.2012, allocations: 50.22 kB / 433.7 MB, free: 16.91 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2012, allocations: 0 / 433.7 MB, free: 16.91 MB / 426.7 MB Notification: Performance of Templates: time 0.00189/0.2031, allocations: 0.5204 MB / 434.2 MB, free: 16.91 MB / 426.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.3272643573582172]