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.0009302/0.0009302, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001148/0.001148, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.002258/0.002258, allocations: 245.2 kB / 260.5 MB, free: 12.7 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.7483/0.7483, allocations: 138.4 MB / 402.2 MB, free: 0.5195 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.533e-06/1.533e-06, allocations: 0 / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.133e-05, allocations: 2.938 kB / 462.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002643/0.002665, allocations: 1.3 MB / 463.6 MB, free: 40 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.003756, allocations: 0.561 MB / 464.2 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.003785, allocations: 0 / 464.2 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.003805, allocations: 0 / 464.2 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.003859, allocations: 4.266 kB / 464.2 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.004506, allocations: 148.1 kB / 464.3 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.004563, allocations: 13.78 kB / 464.3 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.004605, allocations: 1.062 kB / 464.3 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.00464, allocations: 3.625 kB / 464.3 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.004691, allocations: 11.8 kB / 464.4 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.004706, allocations: 1.531 kB / 464.4 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005011/0.005207, allocations: 269.6 kB / 464.6 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.005222, allocations: 0 / 464.6 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.00524, allocations: 7.016 kB / 464.6 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.005564, allocations: 149.1 kB / 464.8 MB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.005566, allocations: 0 / 464.8 MB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005567, allocations: 2.75 kB / 464.8 MB, free: 15.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.005571, allocations: 0 / 464.8 MB, free: 15.51 MB / 426.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.0003568/0.005928, allocations: 253.2 kB / 465 MB, free: 15.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.005972, allocations: 12.3 kB / 465 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.006, allocations: 2.312 kB / 465 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.006103, allocations: 109.9 kB / 465.1 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.006119, allocations: 384 / 465.1 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.006132, allocations: 7.016 kB / 465.1 MB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.926e-05/0.006211, allocations: 38.52 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.006219, allocations: 192 / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.006226, allocations: 3.469 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.006233, allocations: 384 / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.532e-05/0.006249, allocations: 12.53 kB / 465.2 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.00635, allocations: 57.66 kB / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.006397, allocations: 19.64 kB / 465.3 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.00641, allocations: 6.578 kB / 465.3 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.006425, allocations: 1.938 kB / 465.3 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.006447, allocations: 33.84 kB / 465.3 MB, free: 14.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.006448, allocations: 0 / 465.3 MB, free: 14.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001046/0.006552, allocations: 40.2 kB / 465.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.006587, allocations: 51.41 kB / 465.4 MB, free: 14.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.006654, allocations: 108.5 kB / 465.5 MB, free: 14.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.006665, allocations: 25.7 kB / 465.5 MB, free: 14.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.006691, allocations: 82.33 kB / 465.6 MB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.006717, allocations: 5.875 kB / 465.6 MB, free: 14.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.006749, allocations: 13.2 kB / 465.6 MB, free: 14.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.006847, allocations: 317.7 kB / 465.9 MB, free: 14.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.006855, allocations: 1.281 kB / 465.9 MB, free: 14.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-06/0.006864, allocations: 3.125 kB / 466 MB, free: 14.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.00689, allocations: 10.64 kB / 466 MB, free: 14.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006892, allocations: 0.75 kB / 466 MB, free: 14.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.149e-05/0.006953, allocations: 38.36 kB / 466 MB, free: 14.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.006968, allocations: 6.812 kB / 466 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.006973, allocations: 0 / 466 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.00699, allocations: 0.6562 kB / 466 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.007128, allocations: 9.688 kB / 466 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005846/0.007713, allocations: 0.5905 MB / 466.6 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.007732, allocations: 6 kB / 466.6 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.007738, allocations: 1.125 kB / 466.6 MB, free: 13.64 MB / 426.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 6.498e-05/0.007803, allocations: 114.7 kB / 466.7 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.007811, allocations: 1.25 kB / 466.7 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/0.007901, allocations: 41.62 kB / 466.8 MB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.007905, allocations: 6.297 kB / 466.8 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.007907, allocations: 4.969 kB / 466.8 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.00791, allocations: 1.094 kB / 466.8 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.095e-05/0.007981, allocations: 62.84 kB / 466.8 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.007983, allocations: 1.031 kB / 466.8 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.58e-05/0.008059, allocations: 8.578 kB / 466.9 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.008061, allocations: 0 / 466.9 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.008066, allocations: 5.062 kB / 466.9 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002564/0.008322, allocations: 0.5862 MB / 467.4 MB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.008324, allocations: 1.031 kB / 467.4 MB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.309e-05/0.008387, allocations: 61.12 kB / 467.5 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.008396, allocations: 6.625 kB / 467.5 MB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.008405, allocations: 1.75 kB / 467.5 MB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/0.008418, allocations: 1.219 kB / 467.5 MB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.008431, allocations: 4.047 kB / 467.5 MB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.008436, allocations: 1.062 kB / 467.5 MB, free: 12.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.519e-05/0.008451, allocations: 10.59 kB / 467.5 MB, free: 12.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008451, allocations: 1.281 kB / 467.5 MB, free: 12.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.008641, allocations: 7.625 kB / 467.5 MB, free: 12.73 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.0001652/0.008806, allocations: 92.72 kB / 467.6 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.008956, allocations: 23.11 kB / 467.6 MB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.008959, allocations: 0 / 467.6 MB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.224e-05/0.009012, allocations: 17.53 kB / 467.7 MB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.555e-05/0.009087, allocations: 2.094 kB / 467.7 MB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.009384, allocations: 113.6 kB / 467.8 MB, free: 12.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.009416, allocations: 54.08 kB / 467.8 MB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.877e-05/0.009435, allocations: 1.406 kB / 467.8 MB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.009468, allocations: 49.09 kB / 467.9 MB, free: 12.41 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.009469, allocations: 5.375 kB / 467.9 MB, free: 12.41 MB / 426.7 MB Notification: Performance of Templates: time 0.002791/0.01226, allocations: 0.5315 MB / 468.4 MB, free: 12.31 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.658404097892344]