Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 176.5 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6582/0.6582, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003205, allocations: 8 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1609, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4187/0.5796, allocations: 160.7 MB / 0.7138 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008117/0.5878, allocations: 5.032 MB / 0.7187 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.589, allocations: 47.56 kB / 0.7188 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.5911, allocations: 0.7743 MB / 0.7195 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.5959, allocations: 1.789 MB / 0.7213 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.5991, allocations: 1.164 MB / 0.7224 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002826/0.6019, allocations: 1.642 MB / 0.724 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.6033, allocations: 0.7767 MB / 0.7248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.6054, allocations: 0.9578 MB / 0.7257 GB, free: 13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.6066, allocations: 0.6771 MB / 0.7264 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.6068, allocations: 44 kB / 0.7264 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.6088, allocations: 0.7449 MB / 0.7271 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.6093, allocations: 370.8 kB / 0.7275 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.6097, allocations: 265 kB / 0.7277 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.6113, allocations: 1.216 MB / 0.7289 GB, free: 9.691 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.6113, allocations: 0 / 0.7289 GB, free: 9.691 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6114, allocations: 0 / 0.7289 GB, free: 9.691 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.045e-05/0.6114, allocations: 0 / 0.7289 GB, free: 9.691 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004847/0.6162, allocations: 1.658 MB / 0.7306 GB, free: 7.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6163, allocations: 8.031 kB / 0.7306 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004097/0.6204, allocations: 0.7045 MB / 0.7312 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.6221, allocations: 0.8405 MB / 0.7321 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.6222, allocations: 62 kB / 0.7321 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.6224, allocations: 91.98 kB / 0.7322 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.6255, allocations: 1.469 MB / 0.7337 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.6255, allocations: 4 kB / 0.7337 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.6257, allocations: 36 kB / 0.7337 GB, free: 4.637 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.6257, allocations: 49.98 kB / 0.7337 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004049/0.6298, allocations: 1.538 MB / 0.7352 GB, free: 3.051 MB / 0.545 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.006864/0.6366, allocations: 5.147 MB / 0.7403 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/0.6403, allocations: 1.319 MB / 0.7416 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/0.6407, allocations: 157.7 kB / 0.7417 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/0.6426, allocations: 0.7186 MB / 0.7424 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.825e-06/0.6426, allocations: 3.938 kB / 0.7424 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.005608/0.6482, allocations: 1.913 MB / 0.7443 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.6483, allocations: 64.05 kB / 0.7443 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.6497, allocations: 1.223 MB / 0.7455 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6498, allocations: 45.7 kB / 0.7456 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/0.6503, allocations: 0.583 MB / 0.7461 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.6506, allocations: 276.1 kB / 0.7464 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.6506, allocations: 20 kB / 0.7464 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6508, allocations: 345.9 kB / 0.7468 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.6524, allocations: 0.5406 MB / 0.7473 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.6542, allocations: 0.8252 MB / 0.7481 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.6559, allocations: 0.6003 MB / 0.7487 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.6559, allocations: 0 / 0.7487 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003909/0.6599, allocations: 1.514 MB / 0.7502 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.6599, allocations: 11.98 kB / 0.7502 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.6599, allocations: 8 kB / 0.7502 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.6599, allocations: 16 kB / 0.7502 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.6614, allocations: 296.1 kB / 0.7505 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.6614, allocations: 19.92 kB / 0.7505 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.6628, allocations: 218.8 kB / 0.7507 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.663, allocations: 52.84 kB / 0.7508 GB, free: 2.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0005338/0.6635, allocations: 349.4 kB / 0.7511 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.6637, allocations: 130.4 kB / 0.7512 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/0.6676, allocations: 1.427 MB / 0.7526 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6676, allocations: 8 kB / 0.7526 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6677, allocations: 0 / 0.7526 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.6677, allocations: 3.984 kB / 0.7526 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006024/0.6737, allocations: 2.83 MB / 0.7554 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.6737, allocations: 4 kB / 0.7554 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.675, allocations: 236 kB / 0.7556 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.675, allocations: 12 kB / 0.7556 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.099e-05/0.6751, allocations: 27.97 kB / 0.7556 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.6751, allocations: 4 kB / 0.7556 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.6751, allocations: 11.94 kB / 0.7557 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.6807, allocations: 2.5 MB / 0.7581 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005876/0.6813, allocations: 299.2 kB / 0.7584 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.6816, allocations: 23.98 kB / 0.7584 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.6827, allocations: 135.8 kB / 0.7585 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.6829, allocations: 64.39 kB / 0.7586 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.004e-05/0.683, allocations: 39.97 kB / 0.7586 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00104/0.684, allocations: 0.8445 MB / 0.7595 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.684, allocations: 3.938 kB / 0.7595 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001012/0.685, allocations: 311.7 kB / 0.7598 GB, free: 9.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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.001232/0.6863, allocations: 0.5295 MB / 0.7603 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003683/0.69, allocations: 1.294 MB / 0.7615 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.69, allocations: 0 / 0.7615 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.6918, allocations: 0.6521 MB / 0.7622 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/0.6944, allocations: 0.5537 MB / 0.7627 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.6998, allocations: 2.927 MB / 0.7656 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008305/0.7006, allocations: 1.206 MB / 0.7668 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001421/0.7021, allocations: 341.9 kB / 0.7671 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.7025, allocations: 111.4 kB / 0.7672 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.7025, allocations: 0 / 0.7672 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of Templates: time 0.03202/0.7345, allocations: 20.49 MB / 0.7872 GB, free: 13.41 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)