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.001392/0.001392, allocations: 93.06 kB / 19.65 MB, free: 280 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.001608/0.001608, allocations: 165 kB / 23.02 MB, free: 1.555 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 0.9909/0.9909, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.002339/0.002339, allocations: 233.9 kB / 260.2 MB, free: 12.83 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.7205/0.7205, allocations: 138.4 MB / 455.2 MB, free: 1.492 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 2.905e-06/2.905e-06, allocations: 0 / 0.5551 GB, free: 500 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.551e-05, allocations: 2.312 kB / 0.5551 GB, free: 496 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3503/0.3504, allocations: 153.5 MB / 0.7051 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006303/0.3567, allocations: 4.832 MB / 0.7098 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.358, allocations: 71.31 kB / 0.7098 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.3593, allocations: 420.8 kB / 0.7102 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.3621, allocations: 1.267 MB / 0.7115 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.3646, allocations: 1.508 MB / 0.713 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003613/0.3682, allocations: 2.978 MB / 0.7159 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.3695, allocations: 0.743 MB / 0.7166 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.3721, allocations: 1.309 MB / 0.7179 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.3734, allocations: 0.7549 MB / 0.7186 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002682/0.3736, allocations: 103.9 kB / 0.7187 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.3751, allocations: 0.8067 MB / 0.7195 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.3754, allocations: 406.6 kB / 0.7199 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004842/0.3759, allocations: 391 kB / 0.7203 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.3783, allocations: 1.417 MB / 0.7216 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3783, allocations: 0 / 0.7216 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3783, allocations: 4 kB / 0.7216 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.046e-05/0.3784, allocations: 4 kB / 0.7216 GB, free: 2.602 MB / 0.5261 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.002425/0.3808, allocations: 1.6 MB / 0.7232 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3808, allocations: 12.69 kB / 0.7232 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.3822, allocations: 0.515 MB / 0.7237 GB, free: 440 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.3837, allocations: 0.9935 MB / 0.7247 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.3837, allocations: 57.25 kB / 0.7247 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.3838, allocations: 72 kB / 0.7248 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.385, allocations: 0.8559 MB / 0.7257 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.385, allocations: 0 / 0.7257 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.833e-05/0.385, allocations: 35.92 kB / 0.7257 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/0.3851, allocations: 33.31 kB / 0.7257 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.3858, allocations: 429.2 kB / 0.7261 GB, free: 13.86 MB / 0.5417 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.003141/0.3889, allocations: 2.72 MB / 0.7288 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.3896, allocations: 345.8 kB / 0.7291 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.3899, allocations: 192.5 kB / 0.7293 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.39, allocations: 40.47 kB / 0.7293 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.3904, allocations: 449.5 kB / 0.7298 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=57): time 1.944e-06/0.3904, allocations: 0 / 0.7298 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=57): time 0.001136/0.3916, allocations: 0.6446 MB / 0.7304 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/0.3918, allocations: 136.9 kB / 0.7305 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/0.3926, allocations: 0.7961 MB / 0.7313 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.3926, allocations: 41.64 kB / 0.7313 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.3929, allocations: 0.5032 MB / 0.7318 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.393, allocations: 206.2 kB / 0.732 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.3932, allocations: 147.9 kB / 0.7322 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3933, allocations: 0.5004 MB / 0.7327 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.3935, allocations: 130.9 kB / 0.7328 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.394, allocations: 0.6713 MB / 0.7334 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.3948, allocations: 439.8 kB / 0.7339 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3948, allocations: 5.5 kB / 0.7339 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008135/0.3956, allocations: 0.5825 MB / 0.7344 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.3956, allocations: 42.05 kB / 0.7345 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3956, allocations: 7.984 kB / 0.7345 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3957, allocations: 11.94 kB / 0.7345 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.3961, allocations: 151.8 kB / 0.7346 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.3961, allocations: 8 kB / 0.7346 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.3966, allocations: 136.8 kB / 0.7348 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.3966, allocations: 35.98 kB / 0.7348 GB, free: 4.453 MB / 0.5417 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.0002468/0.3969, allocations: 234.1 kB / 0.735 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.397, allocations: 119.4 kB / 0.7351 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008291/0.3978, allocations: 0.57 MB / 0.7357 GB, free: 3.508 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3978, allocations: 15.94 kB / 0.7357 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3978, allocations: 0.5625 kB / 0.7357 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3978, allocations: 7.984 kB / 0.7357 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.4, allocations: 2.057 MB / 0.7377 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4, allocations: 11.94 kB / 0.7377 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.4003, allocations: 105.5 kB / 0.7378 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.4003, allocations: 12 kB / 0.7379 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.4003, allocations: 23.98 kB / 0.7379 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.4003, allocations: 19.92 kB / 0.7379 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.4004, allocations: 11.94 kB / 0.7379 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008696/0.4012, allocations: 1.085 MB / 0.739 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.4015, allocations: 223 kB / 0.7392 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.4016, allocations: 20 kB / 0.7392 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.402, allocations: 71.94 kB / 0.7393 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.4021, allocations: 55.75 kB / 0.7393 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.4021, allocations: 39.97 kB / 0.7394 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004177/0.4025, allocations: 0.4911 MB / 0.7398 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4025, allocations: 0 / 0.7398 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006866/0.4032, allocations: 291.4 kB / 0.7401 GB, free: 14.65 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.0003264/0.4035, allocations: 222.6 kB / 0.7403 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009474/0.4045, allocations: 494.3 kB / 0.7408 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4045, allocations: 4.125 kB / 0.7408 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.4048, allocations: 303.2 kB / 0.7411 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.4059, allocations: 420.6 kB / 0.7415 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.4084, allocations: 1.833 MB / 0.7433 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.4085, allocations: 220.4 kB / 0.7435 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000575/0.4091, allocations: 209.6 kB / 0.7437 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.4093, allocations: 72.47 kB / 0.7438 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of SimCode: time 1.703e-06/0.4093, allocations: 0 / 0.7438 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of Templates: time 0.0195/0.4288, allocations: 16.46 MB / 0.7598 GB, free: 10.63 MB / 0.573 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.597341689746827]