Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.707/0.707, allocations: 127.4 MB / 134.9 MB, free: 3.738 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 180.8 kB / 164.7 MB, free: 6.535 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.2 MB / 399.5 MB, free: 5.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009207/0.0009207, allocations: 83.58 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.664e-05, allocations: 4 kB / 0.5466 GB, free: 60.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 76.76 MB / 0.6215 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.187/5.323, allocations: 2.143 GB / 2.765 GB, free: 89.83 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/5.323, allocations: 86.05 kB / 2.765 GB, free: 89.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.587/7.91, allocations: 0.6701 GB / 3.435 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.542e-06/7.91, allocations: 3.344 kB / 3.435 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002328/7.911, allocations: 41.77 kB / 3.435 GB, free: 107.2 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007012/7.918, allocations: 1.739 MB / 3.437 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/7.918, allocations: 11.41 kB / 3.437 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00524/7.923, allocations: 0.8817 MB / 3.437 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/7.927, allocations: 1.111 MB / 3.439 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/7.927, allocations: 40.77 kB / 3.439 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/7.927, allocations: 59.25 kB / 3.439 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00209/7.929, allocations: 1.096 MB / 3.44 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/7.931, allocations: 1.144 MB / 3.441 GB, free: 106 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/7.931, allocations: 1.312 kB / 3.441 GB, free: 106 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/7.931, allocations: 0 / 3.441 GB, free: 106 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/7.931, allocations: 47.02 kB / 3.441 GB, free: 106 MB / 0.6511 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.008896/7.94, allocations: 4.804 MB / 3.446 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/7.942, allocations: 1.116 MB / 3.447 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008604/7.943, allocations: 0.5726 MB / 3.447 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/7.944, allocations: 0.9392 MB / 3.448 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009276/7.945, allocations: 0.6803 MB / 3.449 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=94): time 3.336e-06/7.945, allocations: 3.375 kB / 3.449 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=94): time 0.003077/7.948, allocations: 1.279 MB / 3.45 GB, free: 103 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/7.948, allocations: 66.97 kB / 3.45 GB, free: 103 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/7.949, allocations: 0.8218 MB / 3.451 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/7.949, allocations: 29.52 kB / 3.451 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/7.95, allocations: 0.5604 MB / 3.452 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/7.95, allocations: 310.8 kB / 3.452 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/7.95, allocations: 0 / 3.452 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.618e-05/7.95, allocations: 342.4 kB / 3.452 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/7.951, allocations: 473.6 kB / 3.453 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/7.952, allocations: 0.7187 MB / 3.453 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007794/7.953, allocations: 0.5082 MB / 3.454 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/7.953, allocations: 3.656 kB / 3.454 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00213/7.955, allocations: 1.274 MB / 3.455 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/7.955, allocations: 7.594 kB / 3.455 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/7.955, allocations: 7.781 kB / 3.455 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/7.955, allocations: 10.81 kB / 3.455 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/7.957, allocations: 346 kB / 3.455 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/7.957, allocations: 16.17 kB / 3.455 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/7.959, allocations: 217.3 kB / 3.456 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/7.959, allocations: 52.72 kB / 3.456 GB, free: 101.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * 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.0003596/7.959, allocations: 129.7 kB / 3.456 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005055/7.96, allocations: 126.2 kB / 3.456 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/7.963, allocations: 1.358 MB / 3.457 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/7.963, allocations: 14.09 kB / 3.457 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/7.963, allocations: 0 / 3.457 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/7.963, allocations: 3.281 kB / 3.457 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/7.969, allocations: 2.876 MB / 3.46 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/7.969, allocations: 5.438 kB / 3.46 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/7.971, allocations: 303.3 kB / 3.46 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/7.971, allocations: 6.906 kB / 3.46 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/7.971, allocations: 30.16 kB / 3.46 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/7.971, allocations: 15.02 kB / 3.46 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/7.971, allocations: 5.625 kB / 3.46 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/7.974, allocations: 2.364 MB / 3.463 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/7.974, allocations: 225 kB / 3.463 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/7.975, allocations: 13.78 kB / 3.463 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/7.976, allocations: 170 kB / 3.463 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/7.976, allocations: 71.36 kB / 3.463 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/7.977, allocations: 44.02 kB / 3.463 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008852/7.977, allocations: 0.6282 MB / 3.464 GB, free: 100 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.41e-07/7.977, allocations: 0 / 3.464 GB, free: 100 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001838/7.979, allocations: 476.7 kB / 3.464 GB, free: 99.96 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003283/7.983, allocations: 2.189 MB / 3.466 GB, free: 99.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001858/7.985, allocations: 1.147 MB / 3.468 GB, free: 99.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/7.985, allocations: 0 / 3.468 GB, free: 99.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008824/7.985, allocations: 0.6105 MB / 3.468 GB, free: 99.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/7.988, allocations: 448.9 kB / 3.469 GB, free: 99.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/8.002, allocations: 3.02 MB / 3.472 GB, free: 98.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/8.003, allocations: 1.217 MB / 3.473 GB, free: 97.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002022/8.005, allocations: 356.2 kB / 3.473 GB, free: 97.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006217/8.006, allocations: 125.4 kB / 3.473 GB, free: 97.84 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/8.006, allocations: 0 / 3.473 GB, free: 97.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.04211/8.048, allocations: 28.97 MB / 3.501 GB, free: 83.45 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)