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.001109/0.001109, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001112/0.001112, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001972/0.001972, allocations: 282.6 kB / 290.3 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9166/0.9166, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 93.28 kB / 0.5948 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1777, allocations: 86.97 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6265/0.8043, allocations: 191.3 MB / 0.8665 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009958/0.8143, allocations: 5.115 MB / 0.8715 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.8166, allocations: 46.06 kB / 0.8716 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.8189, allocations: 0.728 MB / 0.8723 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008124/0.8271, allocations: 2.455 MB / 0.8747 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.8305, allocations: 1.012 MB / 0.8757 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004266/0.8347, allocations: 2.695 MB / 0.8783 GB, free: 7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.8366, allocations: 0.9549 MB / 0.8792 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.8394, allocations: 1.139 MB / 0.8803 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.8414, allocations: 1.043 MB / 0.8814 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004074/0.8418, allocations: 88.38 kB / 0.8815 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004627/0.8465, allocations: 1.861 MB / 0.8833 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008638/0.8473, allocations: 457.8 kB / 0.8837 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.8489, allocations: 0.6629 MB / 0.8844 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005669/0.8546, allocations: 2.323 MB / 0.8866 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8547, allocations: 0 / 0.8866 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8547, allocations: 0 / 0.8866 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.345e-05/0.8548, allocations: 0 / 0.8866 GB, free: 1.965 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.006892/0.8617, allocations: 1.951 MB / 0.8885 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.8617, allocations: 10.28 kB / 0.8885 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003151/0.862, allocations: 141.9 kB / 0.8887 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/0.8678, allocations: 0.8974 MB / 0.8895 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.8698, allocations: 0.9128 MB / 0.8904 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/0.8699, allocations: 67.97 kB / 0.8905 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.8702, allocations: 96.06 kB / 0.8906 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004104/0.8743, allocations: 1.58 MB / 0.8921 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.8743, allocations: 0.875 kB / 0.8921 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.8745, allocations: 36 kB / 0.8922 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/0.8745, allocations: 49.98 kB / 0.8922 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005274/0.8798, allocations: 1.854 MB / 0.894 GB, free: 12.2 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.008523/0.8884, allocations: 4.73 MB / 0.8987 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004344/0.8927, allocations: 1.565 MB / 0.9002 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/0.895, allocations: 0.8523 MB / 0.901 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.8963, allocations: 0.9452 MB / 0.9019 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002484/0.8988, allocations: 0.9148 MB / 0.9028 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 5.26e-06/0.8988, allocations: 0 / 0.9028 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007754/0.9066, allocations: 2.45 MB / 0.9052 GB, free: 300 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.9067, allocations: 72.39 kB / 0.9053 GB, free: 216 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.9086, allocations: 1.189 MB / 0.9065 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/0.9088, allocations: 45.7 kB / 0.9065 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.9093, allocations: 0.5448 MB / 0.907 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.9097, allocations: 327.2 kB / 0.9073 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/0.9102, allocations: 190.5 kB / 0.9075 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.9103, allocations: 341.9 kB / 0.9078 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.9125, allocations: 0.7006 MB / 0.9085 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/0.9148, allocations: 0.9074 MB / 0.9094 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/0.9189, allocations: 1.554 MB / 0.9109 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.919, allocations: 9.75 kB / 0.9109 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004897/0.9239, allocations: 1.772 MB / 0.9127 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.9239, allocations: 4 kB / 0.9127 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.9239, allocations: 8 kB / 0.9127 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.924, allocations: 8 kB / 0.9127 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.9257, allocations: 347.5 kB / 0.913 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/0.9257, allocations: 12 kB / 0.913 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.9275, allocations: 250.7 kB / 0.9133 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.9277, allocations: 47.97 kB / 0.9133 GB, free: 7.812 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.0006436/0.9283, allocations: 336.4 kB / 0.9136 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/0.9287, allocations: 138.2 kB / 0.9138 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004994/0.9337, allocations: 1.801 MB / 0.9155 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.9337, allocations: 8 kB / 0.9155 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.9337, allocations: 3.938 kB / 0.9155 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.9338, allocations: 3.984 kB / 0.9155 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00732/0.9411, allocations: 3.343 MB / 0.9188 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.9411, allocations: 4 kB / 0.9188 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.9428, allocations: 296 kB / 0.9191 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.91e-05/0.9428, allocations: 8 kB / 0.9191 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.9429, allocations: 35.95 kB / 0.9191 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.9429, allocations: 8 kB / 0.9191 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9429, allocations: 7.938 kB / 0.9192 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007031/0.95, allocations: 2.843 MB / 0.9219 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/0.9507, allocations: 323.2 kB / 0.9222 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/0.9511, allocations: 25.44 kB / 0.9223 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.9527, allocations: 179.7 kB / 0.9224 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.9528, allocations: 64.45 kB / 0.9225 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.981e-05/0.9529, allocations: 47.91 kB / 0.9225 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001105/0.9541, allocations: 0.8354 MB / 0.9234 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.9541, allocations: 3.938 kB / 0.9234 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001326/0.9554, allocations: 339.6 kB / 0.9237 GB, free: 12.98 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.008652/0.9641, allocations: 3.822 MB / 0.9274 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005221/0.9693, allocations: 1.782 MB / 0.9292 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9693, allocations: 0 / 0.9292 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.9717, allocations: 0.8439 MB / 0.93 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/0.9749, allocations: 0.6164 MB / 0.9306 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.027/1.002, allocations: 13.23 MB / 0.9435 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000845/1.003, allocations: 1.191 MB / 0.9447 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001669/1.005, allocations: 366 kB / 0.945 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008448/1.005, allocations: 0.5032 MB / 0.9455 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/1.005, allocations: 4 kB / 0.9455 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06109/1.066, allocations: 35.02 MB / 0.9797 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/1.067, allocations: 271.1 kB / 0.98 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/3.636, allocations: 0 / 0.98 GB, free: 3.336 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)