Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001874/0.001874, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.002283/0.002283, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.442/1.442, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.002681/0.002681, allocations: 241.6 kB / 259.8 MB, free: 12.84 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 1.089/1.089, allocations: 138.4 MB / 454.7 MB, free: 1.465 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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.863e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4066/0.4066, allocations: 171.6 MB / 0.7219 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.4192, allocations: 6.586 MB / 0.7284 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.4205, allocations: 67.38 kB / 0.7284 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.4225, allocations: 0.6945 MB / 0.7291 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006503/0.429, allocations: 2.488 MB / 0.7315 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.4329, allocations: 1.506 MB / 0.733 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004658/0.4376, allocations: 3.024 MB / 0.736 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.439, allocations: 0.7151 MB / 0.7367 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.4429, allocations: 1.51 MB / 0.7381 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.4446, allocations: 0.7491 MB / 0.7389 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002976/0.4449, allocations: 100 kB / 0.739 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004007/0.4489, allocations: 1.718 MB / 0.7406 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000579/0.4495, allocations: 394.7 kB / 0.741 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008403/0.4503, allocations: 399 kB / 0.7414 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.4548, allocations: 2.442 MB / 0.7438 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.4548, allocations: 4 kB / 0.7438 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4548, allocations: 3.938 kB / 0.7438 GB, free: 9.375 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.723e-05/0.4549, allocations: 0 / 0.7438 GB, free: 9.375 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004548/0.4595, allocations: 1.586 MB / 0.7453 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4595, allocations: 8.75 kB / 0.7453 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.463, allocations: 0.6389 MB / 0.746 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.4657, allocations: 1.04 MB / 0.747 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/0.4658, allocations: 53.88 kB / 0.747 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.466, allocations: 68 kB / 0.7471 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/0.469, allocations: 1.238 MB / 0.7483 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.4691, allocations: 0 / 0.7483 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.4692, allocations: 32 kB / 0.7483 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/0.4692, allocations: 29.31 kB / 0.7484 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.4727, allocations: 1.193 MB / 0.7495 GB, free: 3.355 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006553/0.4793, allocations: 2.725 MB / 0.7522 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.4812, allocations: 0.682 MB / 0.7529 GB, free: 15.88 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009455/0.4822, allocations: 427.1 kB / 0.7533 GB, free: 15.46 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005412/0.4827, allocations: 134.5 kB / 0.7534 GB, free: 15.33 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.4841, allocations: 0.643 MB / 0.754 GB, free: 14.64 MB / 0.573 GB Notification: Performance of pre-optimization done (n=57): time 2.265e-06/0.4841, allocations: 4 kB / 0.754 GB, free: 14.63 MB / 0.573 GB Notification: Performance of matching and sorting (n=57): time 0.003607/0.4877, allocations: 1.289 MB / 0.7553 GB, free: 13.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.4878, allocations: 144.9 kB / 0.7554 GB, free: 13.15 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.4897, allocations: 0.88 MB / 0.7563 GB, free: 12.26 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.4898, allocations: 37.7 kB / 0.7563 GB, free: 12.22 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.4903, allocations: 464.5 kB / 0.7568 GB, free: 11.76 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.4905, allocations: 198.2 kB / 0.757 GB, free: 11.57 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/0.4908, allocations: 146.2 kB / 0.7571 GB, free: 11.42 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.491, allocations: 333.9 kB / 0.7574 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4923, allocations: 474.7 kB / 0.7579 GB, free: 10.61 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.4941, allocations: 0.9746 MB / 0.7588 GB, free: 9.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.4965, allocations: 0.9334 MB / 0.7597 GB, free: 8.512 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.4965, allocations: 7.938 kB / 0.7597 GB, free: 8.504 MB / 0.573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003563/0.5, allocations: 1.234 MB / 0.7609 GB, free: 7.246 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.5001, allocations: 43.25 kB / 0.761 GB, free: 7.199 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5001, allocations: 4 kB / 0.761 GB, free: 7.195 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.5001, allocations: 8 kB / 0.761 GB, free: 7.188 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.5011, allocations: 192 kB / 0.7612 GB, free: 7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.5012, allocations: 4 kB / 0.7612 GB, free: 6.996 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.5026, allocations: 210.9 kB / 0.7614 GB, free: 6.793 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.5027, allocations: 35.98 kB / 0.7614 GB, free: 6.758 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0005407/0.5032, allocations: 335.2 kB / 0.7617 GB, free: 6.414 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.5035, allocations: 115.4 kB / 0.7618 GB, free: 6.301 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.506, allocations: 1.017 MB / 0.7628 GB, free: 5.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.506, allocations: 4 kB / 0.7628 GB, free: 5.266 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.506, allocations: 7.938 kB / 0.7628 GB, free: 5.258 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.506, allocations: 3.984 kB / 0.7629 GB, free: 5.254 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005601/0.5116, allocations: 2.937 MB / 0.7657 GB, free: 2.176 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.5116, allocations: 8 kB / 0.7657 GB, free: 2.168 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.5123, allocations: 124.3 kB / 0.7658 GB, free: 2.047 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.5123, allocations: 11.98 kB / 0.7659 GB, free: 2.035 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.5124, allocations: 27.94 kB / 0.7659 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/0.5124, allocations: 19.42 kB / 0.7659 GB, free: 1.992 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/0.5124, allocations: 15.94 kB / 0.7659 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.515, allocations: 1.355 MB / 0.7672 GB, free: 0.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/0.5155, allocations: 235 kB / 0.7675 GB, free: 276 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.5157, allocations: 27.88 kB / 0.7675 GB, free: 248 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.5168, allocations: 95.91 kB / 0.7676 GB, free: 152 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.517, allocations: 59.8 kB / 0.7676 GB, free: 92 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.896e-05/0.5171, allocations: 43.97 kB / 0.7677 GB, free: 48 kB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001447/0.5185, allocations: 0.6396 MB / 0.7683 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.5185, allocations: 0 / 0.7683 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001354/0.5199, allocations: 327.4 kB / 0.7686 GB, free: 15.09 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0008264/0.5207, allocations: 349 kB / 0.769 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002681/0.5234, allocations: 1.039 MB / 0.77 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.5234, allocations: 4 kB / 0.77 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.5245, allocations: 0.5103 MB / 0.7705 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.5266, allocations: 412.6 kB / 0.7709 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.5306, allocations: 2.052 MB / 0.7729 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.5312, allocations: 481.7 kB / 0.7733 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008953/0.5321, allocations: 236.5 kB / 0.7736 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.5323, allocations: 68.47 kB / 0.7736 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.5323, allocations: 0 / 0.7736 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of Templates: time 0.03387/0.5662, allocations: 18.06 MB / 0.7913 GB, free: 8.137 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.587857516948134]