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.001482/0.001482, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001458/0.001458, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.1 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.886/0.886, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 68.58 kB / 0.5963 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1641, allocations: 82.04 MB / 0.6764 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03193/0.196, allocations: 29.38 MB / 0.7051 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.2072, allocations: 6.894 MB / 0.7118 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.2084, allocations: 47.69 kB / 0.7119 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.2101, allocations: 0.707 MB / 0.7125 GB, free: 5.094 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.2139, allocations: 1.519 MB / 0.714 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.2168, allocations: 1.155 MB / 0.7152 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003543/0.2203, allocations: 2.481 MB / 0.7176 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.2214, allocations: 0.6772 MB / 0.7182 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.2234, allocations: 1.051 MB / 0.7193 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.2245, allocations: 0.8208 MB / 0.7201 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.2247, allocations: 68 kB / 0.7201 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.2264, allocations: 0.8187 MB / 0.7209 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.2267, allocations: 286.8 kB / 0.7212 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000582/0.2273, allocations: 0.5437 MB / 0.7217 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.2299, allocations: 1.685 MB / 0.7234 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2299, allocations: 0 / 0.7234 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2299, allocations: 0 / 0.7234 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.2299, allocations: 0 / 0.7234 GB, free: 9.957 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.002928/0.2328, allocations: 1.609 MB / 0.725 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2329, allocations: 12.03 kB / 0.725 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/0.2364, allocations: 0.5892 MB / 0.7255 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.238, allocations: 0.8885 MB / 0.7264 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.2381, allocations: 54.38 kB / 0.7265 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.2382, allocations: 79.94 kB / 0.7265 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.2408, allocations: 1.099 MB / 0.7276 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.2408, allocations: 0 / 0.7276 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.2409, allocations: 32 kB / 0.7276 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.2409, allocations: 20 kB / 0.7277 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.244, allocations: 1 MB / 0.7286 GB, free: 4.379 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.006302/0.2503, allocations: 4.963 MB / 0.7335 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.2533, allocations: 0.8685 MB / 0.7343 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.2548, allocations: 463.1 kB / 0.7348 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/0.2564, allocations: 1.591 MB / 0.7363 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/0.2581, allocations: 0.5729 MB / 0.7369 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.535e-06/0.2581, allocations: 0 / 0.7369 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.004932/0.263, allocations: 1.489 MB / 0.7383 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.2631, allocations: 67.97 kB / 0.7384 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.2646, allocations: 1.116 MB / 0.7395 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.248e-05/0.2646, allocations: 41.7 kB / 0.7395 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/0.2651, allocations: 0.5481 MB / 0.7401 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.2654, allocations: 222.2 kB / 0.7403 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.2656, allocations: 162.6 kB / 0.7404 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.2658, allocations: 341.9 kB / 0.7408 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.2673, allocations: 441.6 kB / 0.7412 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.2691, allocations: 0.7242 MB / 0.7419 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.2722, allocations: 1.117 MB / 0.743 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2722, allocations: 0 / 0.743 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003753/0.2759, allocations: 1.282 MB / 0.7442 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.2759, allocations: 8.938 kB / 0.7442 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.276, allocations: 8 kB / 0.7442 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.276, allocations: 16 kB / 0.7443 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.2772, allocations: 263.6 kB / 0.7445 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.2772, allocations: 15.94 kB / 0.7445 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.2784, allocations: 183.3 kB / 0.7447 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.2785, allocations: 51.91 kB / 0.7448 GB, free: 2.926 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.0004817/0.279, allocations: 288.4 kB / 0.745 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.2792, allocations: 131.1 kB / 0.7452 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.2831, allocations: 1.366 MB / 0.7465 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.2831, allocations: 8 kB / 0.7465 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2831, allocations: 3.938 kB / 0.7465 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.2831, allocations: 7.984 kB / 0.7465 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.335/0.6181, allocations: 2.377 MB / 0.7488 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.6181, allocations: 1.688 kB / 0.7488 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.6191, allocations: 188.9 kB / 0.749 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.6191, allocations: 8.031 kB / 0.749 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.27e-05/0.6192, allocations: 29.81 kB / 0.749 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.6192, allocations: 4.688 kB / 0.7491 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.6192, allocations: 2.438 kB / 0.7491 GB, free: 70.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005127/0.6243, allocations: 1.973 MB / 0.751 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.6248, allocations: 284.5 kB / 0.7513 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.6249, allocations: 19.48 kB / 0.7513 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008997/0.6258, allocations: 106 kB / 0.7514 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.626, allocations: 53.62 kB / 0.7514 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.626, allocations: 32.67 kB / 0.7515 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009367/0.627, allocations: 0.7634 MB / 0.7522 GB, free: 69.53 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.627, allocations: 5.531 kB / 0.7522 GB, free: 69.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001055/0.628, allocations: 351.9 kB / 0.7525 GB, free: 69.49 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.001933/0.63, allocations: 0.6729 MB / 0.7532 GB, free: 69.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003429/0.6334, allocations: 1.085 MB / 0.7543 GB, free: 69.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.6334, allocations: 0 / 0.7543 GB, free: 69.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.6351, allocations: 0.5488 MB / 0.7548 GB, free: 68.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.6371, allocations: 451.7 kB / 0.7552 GB, free: 68.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/0.642, allocations: 2.413 MB / 0.7576 GB, free: 67.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.6426, allocations: 1.1 MB / 0.7587 GB, free: 67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.643, allocations: 121.8 kB / 0.7588 GB, free: 66.98 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.643, allocations: 0 / 0.7588 GB, free: 66.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.02901/0.672, allocations: 19.43 MB / 0.7777 GB, free: 59.42 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)