Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009284/0.009284, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.504/1.504, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003945, allocations: 8 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.6641, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2118/0.876, allocations: 189 MB / 1.208 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009901/0.8859, allocations: 5.137 MB / 1.213 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.8878, allocations: 39.69 kB / 1.213 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.8902, allocations: 0.7116 MB / 1.213 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00857/0.8988, allocations: 2.45 MB / 1.216 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.9021, allocations: 1.004 MB / 1.217 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00475/0.9068, allocations: 3.534 MB / 1.22 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.9085, allocations: 0.7994 MB / 1.221 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.9109, allocations: 0.988 MB / 1.222 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.9128, allocations: 0.9689 MB / 1.223 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.9131, allocations: 48 kB / 1.223 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.9174, allocations: 2.061 MB / 1.225 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007063/0.9181, allocations: 414.6 kB / 1.225 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.9193, allocations: 0.6348 MB / 1.226 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004445/0.9238, allocations: 2.204 MB / 1.228 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.9238, allocations: 0 / 1.228 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.514e-06/0.9238, allocations: 3.938 kB / 1.228 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.535e-05/0.9239, allocations: 0 / 1.228 GB, free: 13.07 MB / 0.9825 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.005305/0.9292, allocations: 1.673 MB / 1.23 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.9292, allocations: 8.031 kB / 1.23 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002951/0.9295, allocations: 139.5 kB / 1.23 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004681/0.9342, allocations: 0.7513 MB / 1.231 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.9361, allocations: 0.8902 MB / 1.232 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.535e-05/0.9362, allocations: 73.97 kB / 1.232 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.9364, allocations: 88 kB / 1.232 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/0.94, allocations: 1.469 MB / 1.233 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.94, allocations: 4 kB / 1.233 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.9401, allocations: 43.98 kB / 1.233 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/0.9402, allocations: 41.98 kB / 1.233 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/0.9448, allocations: 1.588 MB / 1.235 GB, free: 6.121 MB / 0.9825 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.007529/0.9523, allocations: 5.057 MB / 1.24 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6282/1.58, allocations: 1.233 MB / 1.241 GB, free: 23.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/1.583, allocations: 0.6778 MB / 1.242 GB, free: 23.01 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/1.584, allocations: 0.9518 MB / 1.243 GB, free: 22.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002136/1.586, allocations: 0.7374 MB / 1.243 GB, free: 22.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 3.256e-06/1.586, allocations: 0.7812 kB / 1.243 GB, free: 22.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.006483/1.592, allocations: 1.995 MB / 1.245 GB, free: 21.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/1.593, allocations: 60.44 kB / 1.245 GB, free: 21.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.594, allocations: 1.266 MB / 1.247 GB, free: 21.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/1.594, allocations: 46.52 kB / 1.247 GB, free: 21.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/1.595, allocations: 0.5701 MB / 1.247 GB, free: 21.6 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/1.595, allocations: 285.5 kB / 1.247 GB, free: 21.42 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/1.595, allocations: 77.72 kB / 1.247 GB, free: 21.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/1.595, allocations: 344.2 kB / 1.248 GB, free: 21.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/1.597, allocations: 0.5582 MB / 1.248 GB, free: 21.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/1.599, allocations: 0.8361 MB / 1.249 GB, free: 20.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/1.603, allocations: 1.36 MB / 1.25 GB, free: 20.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/1.603, allocations: 2.594 kB / 1.25 GB, free: 20.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004716/1.607, allocations: 1.541 MB / 1.252 GB, free: 20.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/1.608, allocations: 8.609 kB / 1.252 GB, free: 20.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/1.608, allocations: 6.938 kB / 1.252 GB, free: 20.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.713e-05/1.608, allocations: 14.75 kB / 1.252 GB, free: 20.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.609, allocations: 297.8 kB / 1.252 GB, free: 20.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.331e-05/1.609, allocations: 20.33 kB / 1.252 GB, free: 20.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.611, allocations: 225.2 kB / 1.253 GB, free: 20.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.611, allocations: 49.5 kB / 1.253 GB, free: 20.3 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0005306/1.611, allocations: 339.4 kB / 1.253 GB, free: 20.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/1.612, allocations: 137.3 kB / 1.253 GB, free: 20.11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/1.616, allocations: 1.473 MB / 1.254 GB, free: 20.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/1.616, allocations: 7.562 kB / 1.254 GB, free: 20.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.616, allocations: 1.484 kB / 1.254 GB, free: 20.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/1.616, allocations: 7.047 kB / 1.254 GB, free: 20.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005976/1.622, allocations: 2.875 MB / 1.257 GB, free: 19.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/1.622, allocations: 5.156 kB / 1.257 GB, free: 19.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/1.623, allocations: 234.2 kB / 1.258 GB, free: 19.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/1.623, allocations: 8.781 kB / 1.258 GB, free: 19.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.611e-05/1.623, allocations: 25.41 kB / 1.258 GB, free: 19.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/1.623, allocations: 11.33 kB / 1.258 GB, free: 19.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.623, allocations: 8.859 kB / 1.258 GB, free: 19.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005687/1.629, allocations: 2.345 MB / 1.26 GB, free: 19.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004842/1.629, allocations: 313.2 kB / 1.26 GB, free: 18.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/1.629, allocations: 23.39 kB / 1.26 GB, free: 18.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.631, allocations: 131.6 kB / 1.26 GB, free: 18.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.631, allocations: 67.64 kB / 1.26 GB, free: 18.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/1.631, allocations: 39.45 kB / 1.26 GB, free: 18.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001094/1.632, allocations: 0.8737 MB / 1.261 GB, free: 18.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.874e-06/1.632, allocations: 0 / 1.261 GB, free: 18.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001075/1.633, allocations: 322.3 kB / 1.262 GB, free: 18.77 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.006738/1.64, allocations: 3.32 MB / 1.265 GB, free: 17.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003617/1.644, allocations: 1.326 MB / 1.266 GB, free: 17.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.644, allocations: 0 / 1.266 GB, free: 17.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/1.645, allocations: 0.6695 MB / 1.267 GB, free: 17.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/1.65, allocations: 0.5989 MB / 1.267 GB, free: 17.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/1.671, allocations: 12.45 MB / 1.28 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/1.671, allocations: 1.175 MB / 1.281 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001508/1.673, allocations: 352.2 kB / 1.281 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/1.673, allocations: 498.1 kB / 1.281 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of SimCode: time 9.42e-07/1.673, allocations: 0 / 1.281 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06964/1.743, allocations: 33.03 MB / 1.314 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001371/1.743, allocations: 257.3 kB / 1.314 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/4.497, allocations: 0 / 1.314 GB, free: 3.652 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)