Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_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.001277/0.001278, allocations: 108 kB / 15.61 MB, free: 152 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.001342/0.001342, allocations: 196.5 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002778/0.002778, allocations: 291 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 110.1 kB / 0.6066 GB, free: 24.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1626, allocations: 89.13 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5255/0.6881, allocations: 193.8 MB / 0.8829 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.6985, allocations: 5.154 MB / 0.8879 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.7001, allocations: 47.19 kB / 0.8879 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.7023, allocations: 0.8104 MB / 0.8887 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006785/0.7091, allocations: 2.608 MB / 0.8913 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.7123, allocations: 1.102 MB / 0.8924 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003667/0.7159, allocations: 2.606 MB / 0.8949 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.7175, allocations: 0.8728 MB / 0.8958 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.7196, allocations: 1.09 MB / 0.8968 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.7212, allocations: 0.9495 MB / 0.8977 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002952/0.7215, allocations: 80 kB / 0.8978 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003618/0.7251, allocations: 1.781 MB / 0.8996 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006109/0.7258, allocations: 446.5 kB / 0.9 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.7269, allocations: 0.6487 MB / 0.9006 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.7307, allocations: 2.13 MB / 0.9027 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7307, allocations: 4 kB / 0.9027 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7307, allocations: 0 / 0.9027 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.712e-05/0.7308, allocations: 0 / 0.9027 GB, free: 5.309 MB / 0.6231 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.005358/0.7361, allocations: 1.93 MB / 0.9046 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7362, allocations: 12.03 kB / 0.9046 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/0.7364, allocations: 139.5 kB / 0.9047 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004489/0.7409, allocations: 0.7052 MB / 0.9054 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.7427, allocations: 0.8942 MB / 0.9063 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.7428, allocations: 66 kB / 0.9064 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.743, allocations: 84 kB / 0.9064 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.7465, allocations: 1.473 MB / 0.9079 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.7465, allocations: 7.938 kB / 0.9079 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.7467, allocations: 32 kB / 0.9079 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.7467, allocations: 45.98 kB / 0.908 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004468/0.7512, allocations: 1.553 MB / 0.9095 GB, free: 14.2 MB / 0.6387 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.00723/0.7584, allocations: 5.034 MB / 0.9144 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/0.762, allocations: 1.19 MB / 0.9156 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.7639, allocations: 0.6697 MB / 0.9162 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.7653, allocations: 0.9449 MB / 0.9171 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/0.7673, allocations: 0.7263 MB / 0.9178 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 3.396e-06/0.7673, allocations: 3.938 kB / 0.9178 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.006312/0.7736, allocations: 1.948 MB / 0.9197 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.7737, allocations: 60.06 kB / 0.9198 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.7755, allocations: 1.276 MB / 0.9211 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.7756, allocations: 45.7 kB / 0.9211 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000546/0.7762, allocations: 0.5638 MB / 0.9216 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/0.7765, allocations: 288 kB / 0.9219 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/0.7768, allocations: 178.5 kB / 0.9221 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.777, allocations: 349.9 kB / 0.9224 GB, free: 424 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.7788, allocations: 0.5445 MB / 0.923 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.7808, allocations: 0.8286 MB / 0.9238 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.7844, allocations: 1.332 MB / 0.9251 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.7844, allocations: 8 kB / 0.9251 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004257/0.7887, allocations: 1.515 MB / 0.9266 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.7887, allocations: 8 kB / 0.9266 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.7888, allocations: 8 kB / 0.9266 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.7888, allocations: 14.38 kB / 0.9266 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.7903, allocations: 291.6 kB / 0.9269 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/0.7903, allocations: 15.98 kB / 0.9269 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.7918, allocations: 202.7 kB / 0.9271 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.7919, allocations: 51.91 kB / 0.9271 GB, free: 11.4 MB / 0.6544 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.0005885/0.7925, allocations: 336.2 kB / 0.9274 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.7928, allocations: 138.3 kB / 0.9276 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.7971, allocations: 1.444 MB / 0.929 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.7971, allocations: 8 kB / 0.929 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7972, allocations: 3.938 kB / 0.929 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.7972, allocations: 3.984 kB / 0.929 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006535/0.8037, allocations: 2.873 MB / 0.9318 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.8037, allocations: 7.938 kB / 0.9318 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/0.8051, allocations: 235 kB / 0.932 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.8051, allocations: 4 kB / 0.932 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-05/0.8052, allocations: 31.97 kB / 0.9321 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.8052, allocations: 8 kB / 0.9321 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.8052, allocations: 7.938 kB / 0.9321 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006011/0.8112, allocations: 2.307 MB / 0.9343 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005945/0.8118, allocations: 299.3 kB / 0.9346 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/0.8121, allocations: 24 kB / 0.9346 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.8133, allocations: 103.9 kB / 0.9347 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.8135, allocations: 68.38 kB / 0.9348 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.952e-05/0.8136, allocations: 35.97 kB / 0.9348 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001259/0.8149, allocations: 0.8762 MB / 0.9357 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8149, allocations: 0 / 0.9357 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001083/0.816, allocations: 315.6 kB / 0.936 GB, free: 2.105 MB / 0.6544 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.00811/0.8241, allocations: 3.291 MB / 0.9392 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004424/0.8286, allocations: 1.433 MB / 0.9406 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.8286, allocations: 0 / 0.9406 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.8305, allocations: 0.6638 MB / 0.9413 GB, free: 12.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.8336, allocations: 0.6232 MB / 0.9419 GB, free: 12.21 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/0.8565, allocations: 11.96 MB / 0.9536 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009875/0.8576, allocations: 1.171 MB / 0.9547 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001649/0.8592, allocations: 350.2 kB / 0.955 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008564/0.8601, allocations: 495.2 kB / 0.9555 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of SimCode: time 7.51e-07/0.8601, allocations: 4 kB / 0.9555 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0741/0.9342, allocations: 34.65 MB / 0.9893 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/9.549, allocations: 19.86 kB / 0.9894 GB, free: 11.4 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)