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.001218/0.001218, allocations: 92.22 kB / 19.65 MB, free: 276 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.001099/0.001099, allocations: 173 kB / 23.02 MB, free: 1.547 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.9472/0.9472, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.001503/0.001503, allocations: 236.7 kB / 260.2 MB, free: 12.82 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.7098/0.7098, allocations: 138.4 MB / 455.2 MB, free: 1.504 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.843e-06/1.843e-06, allocations: 0 / 0.5551 GB, free: 496 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.725e-05, allocations: 2.312 kB / 0.5551 GB, free: 492 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3326/0.3327, allocations: 153.5 MB / 0.7051 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005329/0.338, allocations: 4.837 MB / 0.7098 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/0.3386, allocations: 67.38 kB / 0.7099 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.3394, allocations: 416.8 kB / 0.7102 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.3415, allocations: 1.278 MB / 0.7115 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.3434, allocations: 1.502 MB / 0.713 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002725/0.3461, allocations: 2.969 MB / 0.7159 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009213/0.347, allocations: 0.743 MB / 0.7166 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.349, allocations: 1.537 MB / 0.7181 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007546/0.3497, allocations: 0.6893 MB / 0.7188 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.3499, allocations: 96 kB / 0.7189 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009054/0.3508, allocations: 0.7288 MB / 0.7196 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.351, allocations: 386.7 kB / 0.7199 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.3513, allocations: 391 kB / 0.7203 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.3526, allocations: 1.371 MB / 0.7216 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3527, allocations: 0 / 0.7216 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3527, allocations: 3.938 kB / 0.7217 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.3527, allocations: 0 / 0.7217 GB, free: 2.586 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.001932/0.3546, allocations: 1.588 MB / 0.7232 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3546, allocations: 12.75 kB / 0.7232 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.3558, allocations: 0.4994 MB / 0.7237 GB, free: 452 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.3569, allocations: 0.915 MB / 0.7246 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.3569, allocations: 56.5 kB / 0.7246 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.357, allocations: 68 kB / 0.7247 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.358, allocations: 0.8598 MB / 0.7256 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.358, allocations: 0 / 0.7256 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.3581, allocations: 24 kB / 0.7256 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.3581, allocations: 37.3 kB / 0.7256 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006655/0.3588, allocations: 425.1 kB / 0.726 GB, free: 13.96 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.003045/0.3618, allocations: 2.744 MB / 0.7287 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.3625, allocations: 347.7 kB / 0.729 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.3627, allocations: 178.7 kB / 0.7292 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.3628, allocations: 40.47 kB / 0.7292 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004156/0.3632, allocations: 462.4 kB / 0.7297 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=57): time 1.553e-06/0.3632, allocations: 0 / 0.7297 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=57): time 0.001006/0.3642, allocations: 0.6368 MB / 0.7303 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3643, allocations: 140.9 kB / 0.7304 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/0.365, allocations: 0.7961 MB / 0.7312 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.365, allocations: 37.7 kB / 0.7312 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.3653, allocations: 0.5032 MB / 0.7317 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.3654, allocations: 210.2 kB / 0.7319 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.3656, allocations: 147.9 kB / 0.7321 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3657, allocations: 0.5004 MB / 0.7326 GB, free: 7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.366, allocations: 126.9 kB / 0.7327 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.3664, allocations: 0.5984 MB / 0.7333 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.3668, allocations: 447.8 kB / 0.7337 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3668, allocations: 0 / 0.7337 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007837/0.3676, allocations: 0.582 MB / 0.7343 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.3676, allocations: 41.69 kB / 0.7343 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3677, allocations: 4 kB / 0.7343 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3677, allocations: 4.469 kB / 0.7343 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.3683, allocations: 160.6 kB / 0.7345 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3683, allocations: 15.44 kB / 0.7345 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.3688, allocations: 147.5 kB / 0.7346 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.3688, allocations: 32.98 kB / 0.7347 GB, free: 4.621 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.0002057/0.369, allocations: 232.8 kB / 0.7349 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3691, allocations: 123.3 kB / 0.735 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000711/0.3699, allocations: 0.5779 MB / 0.7356 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3699, allocations: 7.984 kB / 0.7356 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3699, allocations: 4 kB / 0.7356 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3699, allocations: 0 / 0.7356 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.3718, allocations: 2.064 MB / 0.7376 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.3718, allocations: 5.375 kB / 0.7376 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.372, allocations: 112.7 kB / 0.7377 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.3721, allocations: 12 kB / 0.7377 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.3721, allocations: 23.98 kB / 0.7377 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.3721, allocations: 12 kB / 0.7377 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.3721, allocations: 11.94 kB / 0.7378 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.3729, allocations: 1.089 MB / 0.7388 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.3732, allocations: 215.1 kB / 0.739 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/0.3733, allocations: 27.98 kB / 0.7391 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.3737, allocations: 65.02 kB / 0.7391 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.3737, allocations: 67.67 kB / 0.7392 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.3738, allocations: 35.97 kB / 0.7392 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003947/0.3742, allocations: 494.9 kB / 0.7397 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.3742, allocations: 0 / 0.7397 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005678/0.3748, allocations: 295.4 kB / 0.74 GB, free: 14.82 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.0003019/0.3751, allocations: 218.8 kB / 0.7402 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006241/0.3757, allocations: 495.6 kB / 0.7407 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3757, allocations: 0 / 0.7407 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.376, allocations: 311.2 kB / 0.7409 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.3773, allocations: 422.2 kB / 0.7414 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.3793, allocations: 1.828 MB / 0.7431 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.3794, allocations: 229.2 kB / 0.7434 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004568/0.3799, allocations: 210 kB / 0.7436 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.38, allocations: 64.47 kB / 0.7436 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of SimCode: time 1.232e-06/0.38, allocations: 7.938 kB / 0.7436 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of Templates: time 0.01925/0.3993, allocations: 17.91 MB / 0.7611 GB, free: 9.48 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.358501043636352]