Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.001091/0.001091, allocations: 98.03 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.009464/0.009464, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.697/2.697, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 11.98 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6966/0.6969, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03111/0.7281, allocations: 28.47 MB / 1.051 GB, free: 3.289 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.7405, allocations: 6.824 MB / 1.058 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.7425, allocations: 43.69 kB / 1.058 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.7445, allocations: 0.591 MB / 1.058 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.749, allocations: 1.35 MB / 1.06 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.7522, allocations: 1.039 MB / 1.061 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00408/0.7563, allocations: 3.229 MB / 1.064 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.7577, allocations: 0.7076 MB / 1.064 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.7597, allocations: 0.9217 MB / 1.065 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.7612, allocations: 0.809 MB / 1.066 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.7614, allocations: 36 kB / 1.066 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.7632, allocations: 0.756 MB / 1.067 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.7636, allocations: 251 kB / 1.067 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008235/0.7645, allocations: 0.5375 MB / 1.068 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.7671, allocations: 1.557 MB / 1.069 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.7671, allocations: 0 / 1.069 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.033e-06/0.7671, allocations: 3.938 kB / 1.069 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.614e-05/0.7672, allocations: 0 / 1.069 GB, free: 0.5781 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002923/0.7701, allocations: 1.361 MB / 1.07 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.7701, allocations: 12.03 kB / 1.07 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.7704, allocations: 114.7 kB / 1.071 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003646/0.774, allocations: 0.6314 MB / 1.071 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.7755, allocations: 0.8056 MB / 1.072 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.7756, allocations: 61.94 kB / 1.072 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.7757, allocations: 68 kB / 1.072 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.7783, allocations: 1.115 MB / 1.073 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.7783, allocations: 3.938 kB / 1.073 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/0.7784, allocations: 28 kB / 1.073 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.7784, allocations: 20 kB / 1.073 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/0.7815, allocations: 1.024 MB / 1.074 GB, free: 11.13 MB / 0.8262 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.006294/0.7878, allocations: 4.978 MB / 1.079 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.7909, allocations: 0.9544 MB / 1.08 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.7924, allocations: 0.4981 MB / 1.081 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/0.7938, allocations: 1.599 MB / 1.082 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/0.7956, allocations: 0.5885 MB / 1.083 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.765e-06/0.7956, allocations: 0 / 1.083 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.004923/0.8005, allocations: 1.52 MB / 1.084 GB, free: 336 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.8006, allocations: 59.97 kB / 1.084 GB, free: 264 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.8021, allocations: 1.108 MB / 1.085 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-05/0.8021, allocations: 45.64 kB / 1.085 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.8027, allocations: 0.5433 MB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.803, allocations: 213.1 kB / 1.086 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.8031, allocations: 69.67 kB / 1.086 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8033, allocations: 342 kB / 1.086 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.8048, allocations: 457.6 kB / 1.087 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.8065, allocations: 0.732 MB / 1.088 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.8097, allocations: 1.14 MB / 1.089 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.8097, allocations: 4 kB / 1.089 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003691/0.8134, allocations: 1.29 MB / 1.09 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.8134, allocations: 12.16 kB / 1.09 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.8134, allocations: 8 kB / 1.09 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.8135, allocations: 12 kB / 1.09 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.8147, allocations: 279.5 kB / 1.09 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/0.8148, allocations: 15.94 kB / 1.09 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.8161, allocations: 206.9 kB / 1.09 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.8162, allocations: 47.98 kB / 1.091 GB, free: 9.5 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004682/0.8167, allocations: 295.7 kB / 1.091 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.8169, allocations: 118.5 kB / 1.091 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/0.821, allocations: 1.379 MB / 1.092 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.821, allocations: 12 kB / 1.092 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.821, allocations: 4 kB / 1.092 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.821, allocations: 3.984 kB / 1.092 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005545/0.8266, allocations: 2.397 MB / 1.095 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.8266, allocations: 0 / 1.095 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.8277, allocations: 199.9 kB / 1.095 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.8277, allocations: 4 kB / 1.095 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.8278, allocations: 23.97 kB / 1.095 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.8278, allocations: 4 kB / 1.095 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.8278, allocations: 7.938 kB / 1.095 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/0.8334, allocations: 2.001 MB / 1.097 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005035/0.8339, allocations: 291.3 kB / 1.097 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.8342, allocations: 19.98 kB / 1.097 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.8352, allocations: 128 kB / 1.097 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.8354, allocations: 64.3 kB / 1.097 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/0.8354, allocations: 31.97 kB / 1.097 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001033/0.8365, allocations: 0.7638 MB / 1.098 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8365, allocations: 0 / 1.098 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001144/0.8376, allocations: 343.6 kB / 1.098 GB, free: 1.281 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.007285/0.8449, allocations: 3.114 MB / 1.101 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003504/0.8485, allocations: 1.134 MB / 1.103 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.8485, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.8502, allocations: 0.5853 MB / 1.103 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.8529, allocations: 430.7 kB / 1.104 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/0.8737, allocations: 10.67 MB / 1.114 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008615/0.8746, allocations: 1.1 MB / 1.115 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001143/0.8758, allocations: 248.6 kB / 1.115 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007101/0.8765, allocations: 467.2 kB / 1.116 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of SimCode: time 1.512e-06/0.8766, allocations: 0 / 1.116 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05473/0.9313, allocations: 28.94 MB / 1.144 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.9315, allocations: 252.1 kB / 1.144 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.695, allocations: 0 / 1.144 GB, free: 2.309 MB / 0.8887 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)