Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001895/0.001895, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002783/0.002783, allocations: 167.1 kB / 22.46 MB, free: 5.363 MB / 14.72 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.002455/0.002455, allocations: 237.2 kB / 259.4 MB, free: 480 kB / 238.1 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.086/1.086, allocations: 138.4 MB / 454.3 MB, free: 2.008 MB / 366.1 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.157e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002242/0.002264, allocations: 1.305 MB / 0.6481 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.003307, allocations: 0.5382 MB / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.003336, allocations: 0 / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.003358, allocations: 0 / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.003399, allocations: 3.984 kB / 0.6486 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.004031, allocations: 147.2 kB / 0.6487 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.004093, allocations: 31.81 kB / 0.6488 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.00414, allocations: 3.984 kB / 0.6488 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.004177, allocations: 8 kB / 0.6488 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.004233, allocations: 11.98 kB / 0.6488 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.004248, allocations: 0 / 0.6488 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.004726, allocations: 271.4 kB / 0.649 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.004747, allocations: 7.984 kB / 0.649 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.004772, allocations: 7.938 kB / 0.6491 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.00508, allocations: 147.6 kB / 0.6492 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005082, allocations: 0 / 0.6492 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005083, allocations: 0 / 0.6492 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.005087, allocations: 7.938 kB / 0.6492 GB, free: 2.543 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004602/0.005548, allocations: 282 kB / 0.6495 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.005591, allocations: 12.75 kB / 0.6495 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.00563, allocations: 4.891 kB / 0.6495 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.005746, allocations: 105.7 kB / 0.6496 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.005763, allocations: 12.31 kB / 0.6496 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.005772, allocations: 384 / 0.6496 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.005894, allocations: 42.25 kB / 0.6496 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.005904, allocations: 192 / 0.6496 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.005912, allocations: 384 / 0.6496 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.00592, allocations: 8.359 kB / 0.6497 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.005976, allocations: 23.92 kB / 0.6497 GB, free: 2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.006325, allocations: 192.6 kB / 0.6499 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.006545, allocations: 46.62 kB / 0.6499 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.006581, allocations: 16.84 kB / 0.6499 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.0066, allocations: 0 / 0.6499 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.006636, allocations: 38.56 kB / 0.65 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.006636, allocations: 0 / 0.65 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002296/0.006866, allocations: 53.62 kB / 0.65 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.006914, allocations: 55.41 kB / 0.6501 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.007005, allocations: 109.7 kB / 0.6502 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.007025, allocations: 29.7 kB / 0.6502 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.007095, allocations: 80.14 kB / 0.6503 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.00711, allocations: 11.91 kB / 0.6503 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.007145, allocations: 17.72 kB / 0.6503 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.00731, allocations: 318.8 kB / 0.6506 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.007331, allocations: 4 kB / 0.6506 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/0.007363, allocations: 17.72 kB / 0.6506 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.66e-05/0.00743, allocations: 33.7 kB / 0.6507 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.007432, allocations: 4 kB / 0.6507 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001166/0.007548, allocations: 65.5 kB / 0.6507 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.007562, allocations: 4 kB / 0.6507 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.00757, allocations: 3.938 kB / 0.6507 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.007586, allocations: 4 kB / 0.6507 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.007633, allocations: 4.125 kB / 0.6507 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.007644, allocations: 8 kB / 0.6507 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.007675, allocations: 11.89 kB / 0.6508 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.00768, allocations: 0 / 0.6508 GB, free: 0.7695 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/0.007774, allocations: 117.8 kB / 0.6509 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.007799, allocations: 0 / 0.6509 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.00795, allocations: 65.3 kB / 0.6509 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007952, allocations: 480 / 0.6509 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.007957, allocations: 0 / 0.6509 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.007962, allocations: 4 kB / 0.6509 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.008103, allocations: 109.3 kB / 0.651 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008104, allocations: 0 / 0.651 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.008147, allocations: 4 kB / 0.651 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.008149, allocations: 0 / 0.651 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.00816, allocations: 15.98 kB / 0.6511 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.008164, allocations: 3.938 kB / 0.6511 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008165, allocations: 0 / 0.6511 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.008305, allocations: 143.5 kB / 0.6512 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.008313, allocations: 3.953 kB / 0.6512 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.008324, allocations: 4 kB / 0.6512 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.544e-05/0.00838, allocations: 7.938 kB / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.008395, allocations: 3.984 kB / 0.6512 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.008401, allocations: 4 kB / 0.6512 GB, free: 232 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.008449, allocations: 75.28 kB / 0.6513 GB, free: 156 kB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.008449, allocations: 0 / 0.6513 GB, free: 156 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002613/0.008711, allocations: 23.94 kB / 0.6513 GB, free: 132 kB / 0.5606 GB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2385/0.2472, allocations: 123.1 kB / 0.6514 GB, free: 56.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.2474, allocations: 16.22 kB / 0.6514 GB, free: 56.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.2474, allocations: 2.281 kB / 0.6514 GB, free: 56.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.015e-05/0.2474, allocations: 15.77 kB / 0.6515 GB, free: 56.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.2477, allocations: 2.594 kB / 0.6515 GB, free: 56.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.2481, allocations: 113.5 kB / 0.6516 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.2481, allocations: 62.91 kB / 0.6516 GB, free: 56.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.519e-05/0.2481, allocations: 8.328 kB / 0.6516 GB, free: 56.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.2482, allocations: 11.44 kB / 0.6517 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.2482, allocations: 6.219 kB / 0.6517 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.002875/0.251, allocations: 0.5054 MB / 0.6522 GB, free: 56.73 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.891356144100428] Failed to read output from testmodel.py, exit status != 0: 0.25839072465896606 0.26729819600000004 0.260117247 Calling exit ...