Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001297/0.001297, allocations: 108 kB / 15.6 MB, free: 132 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.001312/0.001312, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.266/1.266, allocations: 222.9 MB / 240.2 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.002191/0.002191, allocations: 290.9 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 0.8936/0.8936, allocations: 169.2 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 96.03 kB / 0.5953 GB, free: 27.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1765, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5824/0.7589, allocations: 193.8 MB / 0.8695 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.7696, allocations: 5.145 MB / 0.8746 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.7719, allocations: 45 kB / 0.8746 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.7743, allocations: 0.8095 MB / 0.8754 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008067/0.7824, allocations: 2.599 MB / 0.8779 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.7858, allocations: 1.112 MB / 0.879 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004103/0.79, allocations: 2.608 MB / 0.8816 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.7916, allocations: 0.8969 MB / 0.8825 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.7935, allocations: 1.076 MB / 0.8835 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.7947, allocations: 0.9398 MB / 0.8844 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.7948, allocations: 77.94 kB / 0.8845 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.7981, allocations: 1.789 MB / 0.8862 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.7985, allocations: 429.1 kB / 0.8867 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006815/0.7992, allocations: 0.6505 MB / 0.8873 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.8021, allocations: 2.135 MB / 0.8894 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8022, allocations: 0 / 0.8894 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8022, allocations: 7.938 kB / 0.8894 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.8022, allocations: 0 / 0.8894 GB, free: 15.59 MB / 0.6075 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.00449/0.8067, allocations: 1.923 MB / 0.8913 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.8067, allocations: 14.78 kB / 0.8913 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.8069, allocations: 133.7 kB / 0.8914 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/0.8107, allocations: 0.6618 MB / 0.892 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.8119, allocations: 0.8844 MB / 0.8929 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/0.812, allocations: 65.28 kB / 0.893 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.8122, allocations: 94.86 kB / 0.8931 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.8151, allocations: 1.477 MB / 0.8945 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.8151, allocations: 0 / 0.8945 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.8152, allocations: 32 kB / 0.8945 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/0.8153, allocations: 49.98 kB / 0.8946 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004037/0.8194, allocations: 1.518 MB / 0.8961 GB, free: 10.24 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.006742/0.8261, allocations: 5.503 MB / 0.9014 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.8298, allocations: 1.278 MB / 0.9027 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.8315, allocations: 0.6553 MB / 0.9033 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008635/0.8324, allocations: 0.5889 MB / 0.9039 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00185/0.8343, allocations: 0.7068 MB / 0.9046 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.765e-06/0.8343, allocations: 0 / 0.9046 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005677/0.84, allocations: 1.878 MB / 0.9064 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.84, allocations: 60.06 kB / 0.9065 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.8415, allocations: 1.246 MB / 0.9077 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.517e-05/0.8416, allocations: 45.7 kB / 0.9077 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.8421, allocations: 0.5791 MB / 0.9083 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.8424, allocations: 272.1 kB / 0.9086 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.8427, allocations: 178.5 kB / 0.9087 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8428, allocations: 345.9 kB / 0.9091 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.8444, allocations: 0.5366 MB / 0.9096 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.8463, allocations: 0.8219 MB / 0.9104 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/0.8497, allocations: 1.328 MB / 0.9117 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.8497, allocations: 0 / 0.9117 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004083/0.8538, allocations: 1.49 MB / 0.9131 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.8539, allocations: 8 kB / 0.9132 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.8539, allocations: 12.86 kB / 0.9132 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.8539, allocations: 12 kB / 0.9132 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.8554, allocations: 299.5 kB / 0.9135 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/0.8554, allocations: 12.94 kB / 0.9135 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.857, allocations: 202.8 kB / 0.9137 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.8572, allocations: 46.28 kB / 0.9137 GB, free: 7.473 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0006694/0.8578, allocations: 341 kB / 0.914 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.8581, allocations: 142.2 kB / 0.9142 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.8622, allocations: 1.41 MB / 0.9156 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.8622, allocations: 8 kB / 0.9156 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.8622, allocations: 0 / 0.9156 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.8622, allocations: 3.984 kB / 0.9156 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/0.8682, allocations: 2.815 MB / 0.9183 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.8682, allocations: 4 kB / 0.9183 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.8695, allocations: 223.8 kB / 0.9185 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.8695, allocations: 8 kB / 0.9185 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.8696, allocations: 27.98 kB / 0.9186 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/0.8696, allocations: 14.36 kB / 0.9186 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.8696, allocations: 11.94 kB / 0.9186 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/0.8752, allocations: 2.24 MB / 0.9208 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005906/0.8758, allocations: 295.2 kB / 0.9211 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/0.8761, allocations: 23.98 kB / 0.9211 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.8773, allocations: 111.9 kB / 0.9212 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.8775, allocations: 68.36 kB / 0.9213 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.8776, allocations: 35.97 kB / 0.9213 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001117/0.8787, allocations: 0.8522 MB / 0.9221 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8787, allocations: 0 / 0.9221 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001059/0.8798, allocations: 315.7 kB / 0.9224 GB, free: 14.36 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.007005/0.8868, allocations: 3.219 MB / 0.9256 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004112/0.8909, allocations: 1.411 MB / 0.9269 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8909, allocations: 4.25 kB / 0.9269 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.8927, allocations: 0.644 MB / 0.9276 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.8955, allocations: 0.5899 MB / 0.9282 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/0.9161, allocations: 11.76 MB / 0.9396 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.9168, allocations: 1.173 MB / 0.9408 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001451/0.9183, allocations: 345.9 kB / 0.9411 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007475/0.9191, allocations: 0.4914 MB / 0.9416 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.9191, allocations: 0 / 0.9416 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05928/0.9784, allocations: 33.57 MB / 0.9744 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.792, allocations: 26 kB / 0.9744 GB, free: 9.055 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)