Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.001939/0.001939, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002024/0.002024, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.7/1.7, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.266/3.266, allocations: 389.5 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.824e-05/4.101e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.03122/0.03126, allocations: 17.81 MB / 1.019 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.009576/0.04084, allocations: 4.715 MB / 1.023 GB, free: 6.391 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009809/0.04182, allocations: 27.75 kB / 1.023 GB, free: 6.363 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0009229/0.04274, allocations: 269.9 kB / 1.023 GB, free: 6.098 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.04541, allocations: 0.8231 MB / 1.024 GB, free: 5.27 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.04838, allocations: 0.9086 MB / 1.025 GB, free: 4.367 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.05073, allocations: 1.505 MB / 1.027 GB, free: 2.855 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000712/0.05145, allocations: 413.6 kB / 1.027 GB, free: 2.441 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.05319, allocations: 0.8646 MB / 1.028 GB, free: 1.574 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007371/0.05393, allocations: 446.7 kB / 1.028 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.05404, allocations: 56 kB / 1.028 GB, free: 1.082 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.05527, allocations: 0.5456 MB / 1.029 GB, free: 0.5352 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.05549, allocations: 171.3 kB / 1.029 GB, free: 376 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.05585, allocations: 259.3 kB / 1.029 GB, free: 116 kB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.05766, allocations: 1.09 MB / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.05766, allocations: 0 / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.05767, allocations: 0 / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.05768, allocations: 4 kB / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002111/0.05979, allocations: 1.018 MB / 1.031 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.05983, allocations: 9.344 kB / 1.031 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.06195, allocations: 260 kB / 1.032 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.06297, allocations: 464 kB / 1.032 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.06302, allocations: 37.38 kB / 1.032 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.06315, allocations: 64.11 kB / 1.032 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.06484, allocations: 0.7793 MB / 1.033 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.06486, allocations: 0 / 1.033 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/0.06494, allocations: 24 kB / 1.033 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.06496, allocations: 12 kB / 1.033 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.06655, allocations: 0.6946 MB / 1.034 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006332/0.07288, allocations: 3.383 MB / 1.037 GB, free: 8.039 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.07396, allocations: 394.8 kB / 1.037 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006961/0.07466, allocations: 292.4 kB / 1.038 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.07487, allocations: 43.97 kB / 1.038 GB, free: 7.312 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.07492, allocations: 38.56 kB / 1.038 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=38): time 1.823e-06/0.07492, allocations: 0 / 1.038 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of matching and sorting (n=38): time 0.006603/0.08153, allocations: 1.279 MB / 1.039 GB, free: 5.977 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.08158, allocations: 59.39 kB / 1.039 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.08234, allocations: 0.5224 MB / 1.039 GB, free: 5.371 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.286e-05/0.08241, allocations: 41.64 kB / 1.039 GB, free: 5.324 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.08276, allocations: 336.8 kB / 1.04 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.08293, allocations: 130.9 kB / 1.04 GB, free: 4.863 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.08319, allocations: 118.2 kB / 1.04 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002973/0.08349, allocations: 374.7 kB / 1.04 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/0.08422, allocations: 283.3 kB / 1.041 GB, free: 4.086 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009752/0.0852, allocations: 0.5166 MB / 1.041 GB, free: 3.488 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.0868, allocations: 0.7078 MB / 1.042 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.08681, allocations: 4 kB / 1.042 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.005492/0.0923, allocations: 1.228 MB / 1.043 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.09233, allocations: 8 kB / 1.043 GB, free: 1.473 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.09234, allocations: 11.97 kB / 1.043 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000787/0.09313, allocations: 200.8 kB / 1.043 GB, free: 1.262 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/0.09388, allocations: 135.8 kB / 1.043 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.09496, allocations: 0.6929 MB / 1.044 GB, free: 420 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.09575, allocations: 79.58 kB / 1.044 GB, free: 340 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/0.09583, allocations: 27.98 kB / 1.044 GB, free: 312 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009847/0.09682, allocations: 417.4 kB / 1.045 GB, free: 15.89 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009128/0.09773, allocations: 0.5072 MB / 1.045 GB, free: 15.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00154/0.09927, allocations: 0.7037 MB / 1.046 GB, free: 14.54 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-06/0.09927, allocations: 4 kB / 1.046 GB, free: 14.53 MB / 1.01 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001844/0.1011, allocations: 0.8172 MB / 1.047 GB, free: 13.71 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1011, allocations: 8 kB / 1.047 GB, free: 13.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1011, allocations: 4 kB / 1.047 GB, free: 13.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1012, allocations: 11.98 kB / 1.047 GB, free: 13.69 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008606/0.102, allocations: 155.8 kB / 1.047 GB, free: 13.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.102, allocations: 8 kB / 1.047 GB, free: 13.53 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007046/0.1027, allocations: 75.98 kB / 1.047 GB, free: 13.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.1028, allocations: 31.92 kB / 1.047 GB, free: 13.42 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002845/0.1031, allocations: 212.1 kB / 1.047 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.1032, allocations: 67.56 kB / 1.047 GB, free: 13.14 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/0.1086, allocations: 1.131 MB / 1.048 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.1086, allocations: 7.984 kB / 1.048 GB, free: 11.99 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1086, allocations: 0 / 1.048 GB, free: 11.99 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1086, allocations: 4.062 kB / 1.048 GB, free: 11.99 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006638/0.1153, allocations: 1.805 MB / 1.05 GB, free: 10.13 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.1153, allocations: 0 / 1.05 GB, free: 10.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.1158, allocations: 91.86 kB / 1.05 GB, free: 10.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005547/0.1164, allocations: 176.7 kB / 1.05 GB, free: 9.863 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.1164, allocations: 15.92 kB / 1.05 GB, free: 9.848 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.1181, allocations: 0.7008 MB / 1.051 GB, free: 9.121 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1181, allocations: 0 / 1.051 GB, free: 9.121 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/0.1229, allocations: 1.156 MB / 1.052 GB, free: 7.938 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/0.1233, allocations: 135.3 kB / 1.052 GB, free: 7.805 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/0.1234, allocations: 11.92 kB / 1.052 GB, free: 7.793 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005653/0.1239, allocations: 47.95 kB / 1.052 GB, free: 7.746 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.124, allocations: 31.94 kB / 1.052 GB, free: 7.715 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/0.1241, allocations: 16 kB / 1.052 GB, free: 7.699 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004925/0.1246, allocations: 354.8 kB / 1.053 GB, free: 7.355 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1246, allocations: 0 / 1.053 GB, free: 7.355 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001408/0.126, allocations: 403.1 kB / 1.053 GB, free: 6.961 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006416/0.1266, allocations: 270.7 kB / 1.053 GB, free: 6.688 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002712/0.1293, allocations: 1.023 MB / 1.054 GB, free: 5.664 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1294, allocations: 4 kB / 1.054 GB, free: 5.66 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.1309, allocations: 380.9 kB / 1.055 GB, free: 5.289 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.1321, allocations: 201.7 kB / 1.055 GB, free: 5.102 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1343, allocations: 1.121 MB / 1.056 GB, free: 3.941 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1347, allocations: 306.5 kB / 1.056 GB, free: 3.617 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007165/0.1354, allocations: 163.8 kB / 1.056 GB, free: 3.461 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.1357, allocations: 60.47 kB / 1.056 GB, free: 3.402 MB / 1.01 GB Notification: Performance of SimCode: time 9.72e-07/0.1357, allocations: 0 / 1.056 GB, free: 3.402 MB / 1.01 GB Notification: Performance of Templates: time 0.6159/0.7515, allocations: 15.75 MB / 1.072 GB, free: 97.05 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.938954735174775]