Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",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.001227/0.001227, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001335/0.001335, allocations: 190.8 kB / 16.14 MB, free: 6.707 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001934/0.001934, allocations: 286.9 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.886/0.886, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 94.02 kB / 0.5946 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.164, allocations: 86.98 MB / 0.6795 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5552/0.7192, allocations: 191.5 MB / 0.8666 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008783/0.7281, allocations: 5.187 MB / 0.8717 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.7297, allocations: 44.91 kB / 0.8717 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.7317, allocations: 0.7157 MB / 0.8724 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008304/0.7401, allocations: 2.444 MB / 0.8748 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.7428, allocations: 1.005 MB / 0.8758 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00396/0.7467, allocations: 3.61 MB / 0.8793 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.7483, allocations: 0.8684 MB / 0.8801 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.7504, allocations: 1.021 MB / 0.8811 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.7521, allocations: 1.027 MB / 0.8821 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002728/0.7523, allocations: 59.55 kB / 0.8822 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.7561, allocations: 2.074 MB / 0.8842 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005717/0.7566, allocations: 424 kB / 0.8846 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.7577, allocations: 0.6396 MB / 0.8852 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.7616, allocations: 2.265 MB / 0.8875 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7617, allocations: 0 / 0.8875 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7617, allocations: 4 kB / 0.8875 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.158e-05/0.7617, allocations: 0 / 0.8875 GB, free: 1.32 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.0055/0.7672, allocations: 1.956 MB / 0.8894 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.7673, allocations: 15.48 kB / 0.8894 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.7675, allocations: 142.4 kB / 0.8895 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005571/0.7731, allocations: 0.8934 MB / 0.8904 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.7745, allocations: 0.9028 MB / 0.8913 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.7746, allocations: 77.77 kB / 0.8914 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.7747, allocations: 88.59 kB / 0.8914 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/0.7783, allocations: 1.584 MB / 0.893 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.7784, allocations: 3.938 kB / 0.893 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.7785, allocations: 39.97 kB / 0.893 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/0.7785, allocations: 49.98 kB / 0.8931 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005133/0.7837, allocations: 1.846 MB / 0.8949 GB, free: 11.27 MB / 0.6075 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.007949/0.7917, allocations: 4.73 MB / 0.8995 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/0.7959, allocations: 1.564 MB / 0.901 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.7981, allocations: 0.8524 MB / 0.9019 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/0.7994, allocations: 0.9374 MB / 0.9028 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002425/0.8018, allocations: 0.9147 MB / 0.9037 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 3.426e-06/0.8018, allocations: 4 kB / 0.9037 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007409/0.8093, allocations: 2.45 MB / 0.9061 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.8093, allocations: 64.41 kB / 0.9061 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.8108, allocations: 1.197 MB / 0.9073 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.8109, allocations: 49.7 kB / 0.9073 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.8114, allocations: 0.5409 MB / 0.9079 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.8117, allocations: 323.3 kB / 0.9082 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.8121, allocations: 190.5 kB / 0.9084 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.8122, allocations: 341.9 kB / 0.9087 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.8143, allocations: 0.7005 MB / 0.9094 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.8165, allocations: 0.8996 MB / 0.9102 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004093/0.8206, allocations: 1.562 MB / 0.9118 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.8206, allocations: 7.938 kB / 0.9118 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004764/0.8254, allocations: 1.776 MB / 0.9135 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.8254, allocations: 4 kB / 0.9135 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8254, allocations: 8.875 kB / 0.9135 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.8255, allocations: 12 kB / 0.9135 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.8272, allocations: 335.9 kB / 0.9139 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.8272, allocations: 12.03 kB / 0.9139 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.8289, allocations: 266.6 kB / 0.9141 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.829, allocations: 47.97 kB / 0.9142 GB, free: 6.887 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005743/0.8296, allocations: 341.3 kB / 0.9145 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/0.8299, allocations: 134.3 kB / 0.9146 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005015/0.8349, allocations: 1.803 MB / 0.9164 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.835, allocations: 8 kB / 0.9164 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.835, allocations: 1.125 kB / 0.9164 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.835, allocations: 11.97 kB / 0.9164 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007353/0.8424, allocations: 3.336 MB / 0.9197 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.8424, allocations: 8.094 kB / 0.9197 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.844, allocations: 287.5 kB / 0.9199 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.844, allocations: 8 kB / 0.9199 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.8441, allocations: 31.97 kB / 0.92 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/0.8442, allocations: 16.8 kB / 0.92 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.8442, allocations: 7.938 kB / 0.92 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007124/0.8513, allocations: 2.847 MB / 0.9228 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007127/0.852, allocations: 319.2 kB / 0.9231 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003463/0.8524, allocations: 20 kB / 0.9231 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.854, allocations: 183.7 kB / 0.9233 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.8542, allocations: 68.45 kB / 0.9233 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.8543, allocations: 44.09 kB / 0.9234 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001162/0.8555, allocations: 0.8392 MB / 0.9242 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8555, allocations: 0 / 0.9242 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001159/0.8567, allocations: 335.6 kB / 0.9245 GB, free: 12.07 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * 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.008732/0.8654, allocations: 3.811 MB / 0.9283 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004831/0.8703, allocations: 1.626 MB / 0.9298 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.8703, allocations: 4 kB / 0.9298 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.8727, allocations: 0.8322 MB / 0.9307 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/0.8759, allocations: 0.596 MB / 0.9312 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02871/0.9046, allocations: 13.24 MB / 0.9442 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009178/0.9056, allocations: 1.187 MB / 0.9453 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001761/0.9074, allocations: 362 kB / 0.9457 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008927/0.9083, allocations: 0.4993 MB / 0.9462 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of SimCode: time 1.252e-06/0.9083, allocations: 0 / 0.9462 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05719/0.9655, allocations: 34.12 MB / 0.9795 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.9657, allocations: 279.7 kB / 0.9797 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.651, allocations: 0 / 0.9797 GB, free: 3.48 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)