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.001575/0.001575, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001604/0.001604, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.07 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.8414/0.8414, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 60.44 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1629, allocations: 82.05 MB / 0.6763 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03452/0.1975, allocations: 29.33 MB / 0.705 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.2086, allocations: 6.871 MB / 0.7117 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.2103, allocations: 51.62 kB / 0.7117 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.2124, allocations: 0.6914 MB / 0.7124 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.2169, allocations: 1.462 MB / 0.7138 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.2203, allocations: 1.163 MB / 0.715 GB, free: 2.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004037/0.2243, allocations: 2.465 MB / 0.7174 GB, free: 120 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.226, allocations: 0.7903 MB / 0.7182 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.2284, allocations: 1.039 MB / 0.7192 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.23, allocations: 0.8208 MB / 0.72 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.2303, allocations: 64 kB / 0.72 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.2326, allocations: 0.8188 MB / 0.7208 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.2331, allocations: 282.8 kB / 0.7211 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.2341, allocations: 0.5437 MB / 0.7216 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.2375, allocations: 1.67 MB / 0.7233 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2375, allocations: 4 kB / 0.7233 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2375, allocations: 0 / 0.7233 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.047e-05/0.2376, allocations: 4 kB / 0.7233 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.003516/0.2411, allocations: 1.562 MB / 0.7248 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2411, allocations: 8.031 kB / 0.7248 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003693/0.2448, allocations: 0.5923 MB / 0.7254 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.2469, allocations: 0.868 MB / 0.7262 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.094e-05/0.247, allocations: 54.38 kB / 0.7263 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.2472, allocations: 87.86 kB / 0.7264 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/0.25, allocations: 1.096 MB / 0.7274 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.25, allocations: 3.938 kB / 0.7274 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/0.2501, allocations: 32 kB / 0.7275 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.2501, allocations: 23.98 kB / 0.7275 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.2533, allocations: 0.9962 MB / 0.7285 GB, free: 4.539 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.006421/0.2598, allocations: 4.951 MB / 0.7333 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.263, allocations: 0.9115 MB / 0.7342 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.2647, allocations: 481.4 kB / 0.7347 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.2662, allocations: 1.588 MB / 0.7362 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/0.268, allocations: 0.5806 MB / 0.7368 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.406e-06/0.268, allocations: 0 / 0.7368 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.005062/0.2731, allocations: 1.477 MB / 0.7382 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.2732, allocations: 63.97 kB / 0.7383 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.2748, allocations: 1.112 MB / 0.7394 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.275, allocations: 41.7 kB / 0.7394 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004951/0.2755, allocations: 0.5511 MB / 0.7399 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.2757, allocations: 209.1 kB / 0.7401 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.276, allocations: 162.4 kB / 0.7403 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2761, allocations: 337.9 kB / 0.7406 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.2777, allocations: 453.6 kB / 0.7411 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.2794, allocations: 0.7164 MB / 0.7418 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/0.2825, allocations: 1.12 MB / 0.7428 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.2825, allocations: 4 kB / 0.7429 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003834/0.2864, allocations: 1.262 MB / 0.7441 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.2864, allocations: 17.7 kB / 0.7441 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.2864, allocations: 7.984 kB / 0.7441 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.2865, allocations: 12 kB / 0.7441 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.2877, allocations: 276.2 kB / 0.7444 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.485e-05/0.2878, allocations: 15.98 kB / 0.7444 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.2891, allocations: 182.9 kB / 0.7446 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.2893, allocations: 47.97 kB / 0.7446 GB, free: 3.062 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.0005599/0.2898, allocations: 291.8 kB / 0.7449 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.2901, allocations: 122.4 kB / 0.745 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004004/0.2942, allocations: 1.35 MB / 0.7463 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.2942, allocations: 12 kB / 0.7463 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.2942, allocations: 0 / 0.7463 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.2942, allocations: 3.984 kB / 0.7463 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.385/0.6792, allocations: 2.389 MB / 0.7487 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.6793, allocations: 1.375 kB / 0.7487 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6803, allocations: 186.4 kB / 0.7489 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.6804, allocations: 4.125 kB / 0.7489 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/0.6804, allocations: 24.98 kB / 0.7489 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.6805, allocations: 12.08 kB / 0.7489 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6805, allocations: 1.969 kB / 0.7489 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005231/0.6857, allocations: 1.971 MB / 0.7508 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/0.6863, allocations: 273.8 kB / 0.7511 GB, free: 69.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.6864, allocations: 18.47 kB / 0.7511 GB, free: 69.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/0.6874, allocations: 114.8 kB / 0.7512 GB, free: 69.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6875, allocations: 54.52 kB / 0.7513 GB, free: 69.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/0.6876, allocations: 34.28 kB / 0.7513 GB, free: 69.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009792/0.6886, allocations: 0.762 MB / 0.752 GB, free: 69.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6886, allocations: 0.7188 kB / 0.752 GB, free: 69.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001178/0.6898, allocations: 343.7 kB / 0.7524 GB, free: 69.36 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.00146/0.6913, allocations: 0.675 MB / 0.753 GB, free: 69.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003617/0.6949, allocations: 1.114 MB / 0.7541 GB, free: 68.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6949, allocations: 0.9375 kB / 0.7541 GB, free: 68.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.6967, allocations: 0.5762 MB / 0.7547 GB, free: 68.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.6989, allocations: 453.2 kB / 0.7551 GB, free: 68.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005272/0.7042, allocations: 2.368 MB / 0.7574 GB, free: 67.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.7049, allocations: 1.101 MB / 0.7585 GB, free: 66.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/0.7054, allocations: 117.1 kB / 0.7586 GB, free: 66.86 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.7054, allocations: 2.953 kB / 0.7586 GB, free: 66.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.03194/0.7374, allocations: 19.38 MB / 0.7775 GB, free: 59.38 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)