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.001001/0.001001, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001318/0.001318, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.022/1.022, allocations: 177.2 MB / 204.5 MB, free: 5.516 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.001781/0.001781, allocations: 242.1 kB / 261.3 MB, free: 12.67 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.793/0.793, allocations: 138.4 MB / 456.3 MB, free: 30.05 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 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 8.01e-07/8.01e-07, allocations: 0 / 0.5564 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.23e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3349/0.3349, allocations: 150.7 MB / 0.7035 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006209/0.3412, allocations: 4.814 MB / 0.7082 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007287/0.3419, allocations: 62.09 kB / 0.7083 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008035/0.3427, allocations: 414.3 kB / 0.7087 GB, free: 50.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.3446, allocations: 1.275 MB / 0.7099 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.3467, allocations: 1.507 MB / 0.7114 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00249/0.3492, allocations: 2.978 MB / 0.7143 GB, free: 48.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.35, allocations: 0.7268 MB / 0.715 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.3519, allocations: 1.534 MB / 0.7165 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007647/0.3527, allocations: 0.7 MB / 0.7172 GB, free: 47.33 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.3528, allocations: 95.25 kB / 0.7173 GB, free: 47.33 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009559/0.3538, allocations: 0.7231 MB / 0.718 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.354, allocations: 395.3 kB / 0.7184 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.3543, allocations: 388.4 kB / 0.7187 GB, free: 46.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.3556, allocations: 1.377 MB / 0.7201 GB, free: 46.34 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3556, allocations: 0 / 0.7201 GB, free: 46.34 MB / 0.5573 GB Notification: Performance of FrontEnd: time 7.51e-07/0.3556, allocations: 0 / 0.7201 GB, free: 46.34 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.3556, allocations: 0 / 0.7201 GB, free: 46.34 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.001751/0.3573, allocations: 1.597 MB / 0.7216 GB, free: 45.33 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.3574, allocations: 11.12 kB / 0.7216 GB, free: 45.33 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.3585, allocations: 0.4984 MB / 0.7221 GB, free: 45.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007949/0.3593, allocations: 0.8942 MB / 0.723 GB, free: 44.73 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.3594, allocations: 63.62 kB / 0.7231 GB, free: 44.69 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.3595, allocations: 76.53 kB / 0.7231 GB, free: 44.67 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008368/0.3603, allocations: 0.8 MB / 0.7239 GB, free: 44.28 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3603, allocations: 0 / 0.7239 GB, free: 44.28 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.3604, allocations: 28.34 kB / 0.7239 GB, free: 44.26 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.3604, allocations: 32.08 kB / 0.724 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.3608, allocations: 345.5 kB / 0.7243 GB, free: 44.19 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.002406/0.3633, allocations: 2.607 MB / 0.7269 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.3637, allocations: 330.4 kB / 0.7272 GB, free: 42.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3639, allocations: 150.9 kB / 0.7273 GB, free: 42.37 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.364, allocations: 45.62 kB / 0.7274 GB, free: 42.36 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.3643, allocations: 433.8 kB / 0.7278 GB, free: 42.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=57): time 1.663e-06/0.3643, allocations: 0 / 0.7278 GB, free: 42.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=57): time 0.0008147/0.3652, allocations: 0.5977 MB / 0.7284 GB, free: 41.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.3652, allocations: 141.4 kB / 0.7285 GB, free: 41.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/0.3658, allocations: 0.7716 MB / 0.7292 GB, free: 41.29 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.3658, allocations: 39.02 kB / 0.7293 GB, free: 41.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.366, allocations: 0.506 MB / 0.7298 GB, free: 40.83 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.852e-05/0.3661, allocations: 208.5 kB / 0.73 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.3662, allocations: 154.9 kB / 0.7301 GB, free: 40.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.3663, allocations: 0.5036 MB / 0.7306 GB, free: 40.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.3665, allocations: 108.9 kB / 0.7307 GB, free: 40.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.3667, allocations: 0.5785 MB / 0.7313 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.3671, allocations: 408.3 kB / 0.7317 GB, free: 39.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3671, allocations: 0 / 0.7317 GB, free: 39.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006141/0.3677, allocations: 0.533 MB / 0.7322 GB, free: 38.83 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.3677, allocations: 41.72 kB / 0.7322 GB, free: 38.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3677, allocations: 2.875 kB / 0.7322 GB, free: 38.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3677, allocations: 9.781 kB / 0.7322 GB, free: 38.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.3681, allocations: 155.4 kB / 0.7324 GB, free: 38.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3681, allocations: 13.77 kB / 0.7324 GB, free: 38.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.3685, allocations: 141.9 kB / 0.7325 GB, free: 38.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.3686, allocations: 30.92 kB / 0.7326 GB, free: 38.66 MB / 0.5573 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.0001764/0.3688, allocations: 232.6 kB / 0.7328 GB, free: 38.44 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3689, allocations: 112.6 kB / 0.7329 GB, free: 38.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/0.3695, allocations: 0.5284 MB / 0.7334 GB, free: 38.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3695, allocations: 10.03 kB / 0.7334 GB, free: 38.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3695, allocations: 3.938 kB / 0.7334 GB, free: 38.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3695, allocations: 7 kB / 0.7334 GB, free: 38.06 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.3711, allocations: 1.896 MB / 0.7353 GB, free: 36.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3711, allocations: 13.81 kB / 0.7353 GB, free: 36.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.3713, allocations: 103.7 kB / 0.7354 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.3713, allocations: 10.66 kB / 0.7354 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.3714, allocations: 25.8 kB / 0.7354 GB, free: 36.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.3714, allocations: 15.47 kB / 0.7354 GB, free: 36.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.3714, allocations: 12.22 kB / 0.7355 GB, free: 36.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.372, allocations: 1.06 MB / 0.7365 GB, free: 35.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.3722, allocations: 216.5 kB / 0.7367 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.3723, allocations: 21.94 kB / 0.7367 GB, free: 35.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.3727, allocations: 61.58 kB / 0.7368 GB, free: 35.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.3728, allocations: 61.48 kB / 0.7368 GB, free: 35.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.3728, allocations: 40.72 kB / 0.7369 GB, free: 35.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002398/0.3731, allocations: 456.7 kB / 0.7373 GB, free: 35.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.3731, allocations: 4 kB / 0.7373 GB, free: 35.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000609/0.3737, allocations: 297 kB / 0.7376 GB, free: 35.11 MB / 0.5573 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.0002703/0.3739, allocations: 222.1 kB / 0.7378 GB, free: 34.97 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.3744, allocations: 460.5 kB / 0.7382 GB, free: 34.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3744, allocations: 2.75 kB / 0.7383 GB, free: 34.72 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.3747, allocations: 293 kB / 0.7385 GB, free: 34.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3757, allocations: 418.6 kB / 0.7389 GB, free: 34.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3775, allocations: 1.818 MB / 0.7407 GB, free: 32.97 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.3777, allocations: 225 kB / 0.7409 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004063/0.3781, allocations: 159 kB / 0.7411 GB, free: 32.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006417/0.3787, allocations: 409 kB / 0.7415 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/0.3787, allocations: 0 / 0.7415 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.0183/0.397, allocations: 18.29 MB / 0.7593 GB, free: 21.11 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.61162740085274]