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.8446/0.8446, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 184.8 kB / 169.7 MB, free: 1.734 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.754/1.754, allocations: 205.1 MB / 404.5 MB, free: 1.598 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.0009115/0.0009115, allocations: 98.33 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.329e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1574, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.129/6.287, allocations: 2.144 GB / 2.772 GB, free: 185.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/6.287, allocations: 87.94 kB / 2.772 GB, free: 185 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.246/8.533, allocations: 0.6785 GB / 3.45 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.343e-06/8.533, allocations: 0 / 3.45 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001426/8.533, allocations: 43.98 kB / 3.45 GB, free: 6.711 MB / 0.6667 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.006173/8.539, allocations: 1.748 MB / 3.452 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/8.539, allocations: 8.031 kB / 3.452 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005304/8.545, allocations: 0.8878 MB / 3.453 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/8.548, allocations: 1.11 MB / 3.454 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/8.548, allocations: 74 kB / 3.454 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/8.548, allocations: 99.97 kB / 3.454 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/8.551, allocations: 1.267 MB / 3.455 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/8.551, allocations: 3.938 kB / 3.455 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/8.551, allocations: 32 kB / 3.455 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-05/8.551, allocations: 49.98 kB / 3.455 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/8.553, allocations: 1.277 MB / 3.457 GB, free: 24 kB / 0.6667 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.4612/9.014, allocations: 4.784 MB / 3.461 GB, free: 107.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/9.017, allocations: 1.106 MB / 3.462 GB, free: 107.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009672/9.018, allocations: 0.5768 MB / 3.463 GB, free: 107.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/9.019, allocations: 0.9454 MB / 3.464 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/9.02, allocations: 0.6367 MB / 3.465 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=94): time 4.208e-06/9.02, allocations: 0 / 3.465 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94): time 0.003111/9.023, allocations: 1.213 MB / 3.466 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/9.023, allocations: 60.91 kB / 3.466 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/9.025, allocations: 1.056 MB / 3.467 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/9.025, allocations: 51.05 kB / 3.467 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/9.025, allocations: 0.5531 MB / 3.467 GB, free: 106 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/9.025, allocations: 325.2 kB / 3.468 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.68e-05/9.025, allocations: 18.31 kB / 3.468 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.915e-05/9.026, allocations: 347.7 kB / 3.468 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006583/9.026, allocations: 446 kB / 3.468 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008171/9.027, allocations: 0.6818 MB / 3.469 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/9.028, allocations: 490.1 kB / 3.47 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/9.028, allocations: 2.969 kB / 3.47 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002158/9.03, allocations: 1.244 MB / 3.471 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/9.03, allocations: 7.344 kB / 3.471 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/9.03, allocations: 8.484 kB / 3.471 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/9.03, allocations: 12.53 kB / 3.471 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/9.032, allocations: 338.9 kB / 3.471 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/9.032, allocations: 15.78 kB / 3.471 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/9.034, allocations: 255.7 kB / 3.471 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/9.034, allocations: 51.2 kB / 3.471 GB, free: 105.1 MB / 0.6667 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.0002961/9.034, allocations: 164.5 kB / 3.472 GB, free: 105 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/9.035, allocations: 135.8 kB / 3.472 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/9.037, allocations: 1.315 MB / 3.473 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/9.037, allocations: 14.95 kB / 3.473 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/9.037, allocations: 0 / 3.473 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/9.037, allocations: 5.672 kB / 3.473 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005695/9.043, allocations: 2.861 MB / 3.476 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/9.043, allocations: 10.19 kB / 3.476 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/9.045, allocations: 304.2 kB / 3.476 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/9.045, allocations: 8.531 kB / 3.476 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/9.045, allocations: 32.77 kB / 3.476 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/9.045, allocations: 10.73 kB / 3.476 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/9.045, allocations: 7.469 kB / 3.476 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/9.049, allocations: 2.277 MB / 3.478 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007037/9.05, allocations: 240.1 kB / 3.479 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/9.05, allocations: 27.83 kB / 3.479 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/9.052, allocations: 176.4 kB / 3.479 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/9.052, allocations: 76.23 kB / 3.479 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/9.052, allocations: 42.12 kB / 3.479 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001472/9.053, allocations: 0.8198 MB / 3.48 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.51e-07/9.053, allocations: 0 / 3.48 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002181/9.056, allocations: 0.5206 MB / 3.48 GB, free: 103.5 MB / 0.6667 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.003982/9.06, allocations: 1.997 MB / 3.482 GB, free: 102.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002642/9.062, allocations: 1.1 MB / 3.483 GB, free: 102.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/9.062, allocations: 0.9062 kB / 3.483 GB, free: 102.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/9.063, allocations: 0.5813 MB / 3.484 GB, free: 102.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/9.067, allocations: 0.5937 MB / 3.484 GB, free: 102.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/9.072, allocations: 2.341 MB / 3.487 GB, free: 102.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009242/9.073, allocations: 1.223 MB / 3.488 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002132/9.075, allocations: 361 kB / 3.488 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/9.076, allocations: 123.3 kB / 3.488 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.172e-06/9.076, allocations: 0 / 3.488 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.07361/9.15, allocations: 47.64 MB / 3.535 GB, free: 99.99 MB / 0.6667 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)