Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4676/0.4676, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008345/0.0008346, allocations: 95.73 kB / 421.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.211e-05, allocations: 4 kB / 0.4896 GB, free: 5.332 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3424, allocations: 72.31 MB / 0.5602 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.314/4.656, allocations: 2.108 GB / 2.668 GB, free: 94.14 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/4.657, allocations: 86.86 kB / 2.668 GB, free: 94.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.332/6.988, allocations: 0.6581 GB / 3.327 GB, free: 93.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/6.988, allocations: 0 / 3.327 GB, free: 93.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.485e-05/6.989, allocations: 35.23 kB / 3.327 GB, free: 93.84 MB / 0.6198 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.004206/6.993, allocations: 1.48 MB / 3.328 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/6.993, allocations: 15.11 kB / 3.328 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/6.995, allocations: 0.5387 MB / 3.329 GB, free: 93.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02456/7.02, allocations: 13.15 MB / 3.341 GB, free: 92.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/7.021, allocations: 313.7 kB / 3.342 GB, free: 92.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/7.021, allocations: 64.72 kB / 3.342 GB, free: 92.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/7.023, allocations: 0.9859 MB / 3.343 GB, free: 92.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/7.023, allocations: 0 / 3.343 GB, free: 92.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/7.023, allocations: 25.72 kB / 3.343 GB, free: 92.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/7.023, allocations: 33.11 kB / 3.343 GB, free: 92.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/7.024, allocations: 0.7985 MB / 3.344 GB, free: 92.21 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.005718/7.03, allocations: 3.317 MB / 3.347 GB, free: 91.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009578/7.031, allocations: 0.5784 MB / 3.347 GB, free: 91.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/7.032, allocations: 367 kB / 3.348 GB, free: 91.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007705/7.032, allocations: 1.034 MB / 3.349 GB, free: 90.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006292/7.033, allocations: 486.3 kB / 3.349 GB, free: 90.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 3.126e-06/7.033, allocations: 0 / 3.349 GB, free: 90.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.001597/7.035, allocations: 0.854 MB / 3.35 GB, free: 89.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/7.035, allocations: 140 kB / 3.35 GB, free: 89.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/7.036, allocations: 0.9459 MB / 3.351 GB, free: 89.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/7.036, allocations: 43.11 kB / 3.351 GB, free: 89.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/7.036, allocations: 436.1 kB / 3.352 GB, free: 89.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/7.036, allocations: 190.4 kB / 3.352 GB, free: 89.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/7.036, allocations: 13.81 kB / 3.352 GB, free: 89.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/7.036, allocations: 328.7 kB / 3.352 GB, free: 89.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/7.037, allocations: 318.9 kB / 3.352 GB, free: 89.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/7.037, allocations: 0.5172 MB / 3.353 GB, free: 88.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/7.038, allocations: 388.6 kB / 3.353 GB, free: 88.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/7.038, allocations: 0 / 3.353 GB, free: 88.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001454/7.039, allocations: 0.9621 MB / 3.354 GB, free: 88.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/7.039, allocations: 37.36 kB / 3.354 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-06/7.039, allocations: 3.969 kB / 3.354 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/7.039, allocations: 10.98 kB / 3.354 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009305/7.04, allocations: 217.3 kB / 3.354 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/7.04, allocations: 9.547 kB / 3.354 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/7.042, allocations: 308.2 kB / 3.355 GB, free: 88.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/7.042, allocations: 47.94 kB / 3.355 GB, free: 88.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001907/7.042, allocations: 183.9 kB / 3.355 GB, free: 88.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/7.042, allocations: 118.8 kB / 3.355 GB, free: 88.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/7.044, allocations: 0.9297 MB / 3.356 GB, free: 88.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/7.044, allocations: 3.594 kB / 3.356 GB, free: 88.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/7.044, allocations: 14.2 kB / 3.356 GB, free: 88.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/7.044, allocations: 3.406 kB / 3.356 GB, free: 88.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/7.048, allocations: 3.152 MB / 3.359 GB, free: 87.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/7.048, allocations: 6.25 kB / 3.359 GB, free: 87.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/7.048, allocations: 129.5 kB / 3.359 GB, free: 87.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/7.048, allocations: 11.59 kB / 3.359 GB, free: 87.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/7.048, allocations: 26.83 kB / 3.359 GB, free: 87.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.578e-05/7.048, allocations: 18.56 kB / 3.359 GB, free: 87.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/7.048, allocations: 11.16 kB / 3.359 GB, free: 87.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/7.05, allocations: 1.676 MB / 3.361 GB, free: 86.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/7.051, allocations: 344.8 kB / 3.361 GB, free: 86.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/7.051, allocations: 22.66 kB / 3.361 GB, free: 86.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/7.052, allocations: 136.5 kB / 3.361 GB, free: 86.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/7.052, allocations: 59.7 kB / 3.361 GB, free: 86.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/7.052, allocations: 42.31 kB / 3.362 GB, free: 86.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001035/7.053, allocations: 0.7451 MB / 3.362 GB, free: 86.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.01e-07/7.053, allocations: 3.844 kB / 3.362 GB, free: 86.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001842/7.055, allocations: 431.9 kB / 3.363 GB, free: 86.2 MB / 0.6198 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002364/7.058, allocations: 1.577 MB / 3.364 GB, free: 85.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001449/7.059, allocations: 0.84 MB / 3.365 GB, free: 85.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/7.059, allocations: 7.75 kB / 3.365 GB, free: 85.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005835/7.06, allocations: 480.5 kB / 3.365 GB, free: 85.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/7.062, allocations: 0.5324 MB / 3.366 GB, free: 85.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/7.065, allocations: 1.564 MB / 3.368 GB, free: 85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/7.066, allocations: 1.097 MB / 3.369 GB, free: 84.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001115/7.067, allocations: 277.4 kB / 3.369 GB, free: 84.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/7.067, allocations: 85.97 kB / 3.369 GB, free: 84.28 MB / 0.6198 GB Notification: Performance of SimCode: time 8.31e-07/7.067, allocations: 5.812 kB / 3.369 GB, free: 84.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.05252/7.119, allocations: 40.75 MB / 3.409 GB, free: 61.95 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)