Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006697/0.006697, allocations: 98.67 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8144/0.8144, allocations: 143 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 64.78 kB / 0.5955 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1664, allocations: 82.05 MB / 0.6757 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02807/0.1945, allocations: 29.33 MB / 0.7043 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.2047, allocations: 6.886 MB / 0.711 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.2059, allocations: 47.69 kB / 0.7111 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.2075, allocations: 0.6914 MB / 0.7117 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.2108, allocations: 1.454 MB / 0.7132 GB, free: 3.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.2135, allocations: 1.156 MB / 0.7143 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002814/0.2163, allocations: 2.477 MB / 0.7167 GB, free: 124 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.2173, allocations: 0.7865 MB / 0.7175 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.219, allocations: 1.05 MB / 0.7185 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008961/0.2199, allocations: 0.8092 MB / 0.7193 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.2201, allocations: 71.98 kB / 0.7194 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.222, allocations: 0.8148 MB / 0.7202 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.2223, allocations: 282.9 kB / 0.7204 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000503/0.2228, allocations: 0.5554 MB / 0.721 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.2248, allocations: 1.666 MB / 0.7226 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2248, allocations: 0 / 0.7226 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2248, allocations: 0 / 0.7226 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.2248, allocations: 0 / 0.7226 GB, free: 10.06 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002295/0.2271, allocations: 1.566 MB / 0.7241 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2272, allocations: 12.03 kB / 0.7241 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.2302, allocations: 0.5806 MB / 0.7247 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.2316, allocations: 0.8797 MB / 0.7256 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.2317, allocations: 54.38 kB / 0.7256 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2318, allocations: 75.94 kB / 0.7257 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.234, allocations: 1.1 MB / 0.7268 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.234, allocations: 4 kB / 0.7268 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.2341, allocations: 28 kB / 0.7268 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.2341, allocations: 16 kB / 0.7268 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.2369, allocations: 1.004 MB / 0.7278 GB, free: 4.547 MB / 0.5606 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.005079/0.242, allocations: 4.951 MB / 0.7326 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.2447, allocations: 0.9028 MB / 0.7335 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.2461, allocations: 491.1 kB / 0.734 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.2473, allocations: 1.587 MB / 0.7355 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.2488, allocations: 0.5729 MB / 0.7361 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.076e-06/0.2488, allocations: 0 / 0.7361 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.00446/0.2533, allocations: 1.485 MB / 0.7375 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2534, allocations: 63.97 kB / 0.7376 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.2546, allocations: 1.108 MB / 0.7387 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/0.2547, allocations: 41.7 kB / 0.7387 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/0.2551, allocations: 0.5434 MB / 0.7393 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.2553, allocations: 209.1 kB / 0.7395 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.2555, allocations: 166.4 kB / 0.7396 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2556, allocations: 338 kB / 0.7399 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.257, allocations: 453.6 kB / 0.7404 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.2586, allocations: 0.7164 MB / 0.7411 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.2614, allocations: 1.117 MB / 0.7422 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2614, allocations: 0 / 0.7422 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003442/0.2648, allocations: 1.282 MB / 0.7434 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2649, allocations: 8.094 kB / 0.7434 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.2649, allocations: 16.03 kB / 0.7434 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.2649, allocations: 12 kB / 0.7434 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.266, allocations: 267.6 kB / 0.7437 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.2661, allocations: 15.94 kB / 0.7437 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.2672, allocations: 182.9 kB / 0.7439 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.34e-05/0.2673, allocations: 43.98 kB / 0.7439 GB, free: 3.074 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * 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.0004395/0.2677, allocations: 292.4 kB / 0.7442 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.2679, allocations: 122.4 kB / 0.7443 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.2714, allocations: 1.362 MB / 0.7457 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.2715, allocations: 11.98 kB / 0.7457 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2715, allocations: 7.938 kB / 0.7457 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.2715, allocations: 7.922 kB / 0.7457 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.341/0.6125, allocations: 2.379 MB / 0.748 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6126, allocations: 1.188 kB / 0.748 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/0.6135, allocations: 187.2 kB / 0.7482 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.6136, allocations: 5.172 kB / 0.7482 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/0.6136, allocations: 25.55 kB / 0.7482 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.6136, allocations: 5.109 kB / 0.7482 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6137, allocations: 2.094 kB / 0.7482 GB, free: 69.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005171/0.6188, allocations: 1.972 MB / 0.7501 GB, free: 69.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/0.6194, allocations: 279.4 kB / 0.7504 GB, free: 69.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.6195, allocations: 15.62 kB / 0.7504 GB, free: 69.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000861/0.6204, allocations: 107.3 kB / 0.7505 GB, free: 69.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.6205, allocations: 54.83 kB / 0.7506 GB, free: 69.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.333e-05/0.6206, allocations: 37.64 kB / 0.7506 GB, free: 69.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001067/0.6217, allocations: 0.7656 MB / 0.7514 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6217, allocations: 0 / 0.7514 GB, free: 69.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001654/0.6234, allocations: 344.2 kB / 0.7517 GB, free: 69.34 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.001697/0.6251, allocations: 0.6664 MB / 0.7523 GB, free: 69.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003443/0.6285, allocations: 1.115 MB / 0.7534 GB, free: 68.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6286, allocations: 0 / 0.7534 GB, free: 68.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.6303, allocations: 0.5738 MB / 0.754 GB, free: 68.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.6323, allocations: 461 kB / 0.7544 GB, free: 68.69 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.637, allocations: 2.325 MB / 0.7567 GB, free: 67.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.6376, allocations: 1.11 MB / 0.7578 GB, free: 66.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009702/0.6386, allocations: 256.3 kB / 0.758 GB, free: 66.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.6389, allocations: 104.2 kB / 0.7581 GB, free: 66.8 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.6389, allocations: 0 / 0.7581 GB, free: 66.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.03287/0.6718, allocations: 20.61 MB / 0.7783 GB, free: 59.05 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)