Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_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.001352/0.001352, 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.001049/0.001049, allocations: 193.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 222 MB, free: 4.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.3 MB / 0.5484 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 73.72 kB / 0.6709 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1901, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02701/0.2171, allocations: 29.2 MB / 0.8113 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009056/0.2262, allocations: 6.773 MB / 0.8179 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009124/0.2271, allocations: 47.62 kB / 0.818 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.2288, allocations: 0.6027 MB / 0.8186 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.2317, allocations: 1.322 MB / 0.8198 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.2341, allocations: 1.041 MB / 0.8209 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003085/0.2372, allocations: 3.202 MB / 0.824 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009463/0.2382, allocations: 0.7308 MB / 0.8247 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.2397, allocations: 0.9451 MB / 0.8256 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009159/0.2406, allocations: 0.8285 MB / 0.8264 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.2407, allocations: 40 kB / 0.8265 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.2424, allocations: 0.7755 MB / 0.8272 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.2426, allocations: 263 kB / 0.8275 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005148/0.2432, allocations: 0.5319 MB / 0.828 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.245, allocations: 1.585 MB / 0.8295 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.245, allocations: 0 / 0.8295 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.62e-07/0.245, allocations: 0 / 0.8295 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.2451, allocations: 0 / 0.8295 GB, free: 13.82 MB / 0.6544 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.002564/0.2476, allocations: 1.582 MB / 0.8311 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2477, allocations: 8.031 kB / 0.8311 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.2478, allocations: 122.6 kB / 0.8312 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/0.2513, allocations: 0.5923 MB / 0.8318 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.2526, allocations: 0.8212 MB / 0.8326 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.2526, allocations: 62.12 kB / 0.8327 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.2528, allocations: 72 kB / 0.8327 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.2552, allocations: 1.099 MB / 0.8338 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2552, allocations: 7.938 kB / 0.8338 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/0.2553, allocations: 32 kB / 0.8338 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.2554, allocations: 16 kB / 0.8339 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.2583, allocations: 1 MB / 0.8348 GB, free: 8.215 MB / 0.6544 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.005775/0.2641, allocations: 4.951 MB / 0.8397 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/0.2671, allocations: 0.899 MB / 0.8405 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.2686, allocations: 490.2 kB / 0.841 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.27, allocations: 1.592 MB / 0.8426 GB, free: 15.64 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/0.2717, allocations: 0.5767 MB / 0.8431 GB, free: 15.05 MB / 0.67 GB Notification: Performance of pre-optimization done (n=61): time 2.925e-06/0.2717, allocations: 0 / 0.8431 GB, free: 15.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=61): time 0.004628/0.2764, allocations: 1.485 MB / 0.8446 GB, free: 13.56 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.2764, allocations: 55.97 kB / 0.8446 GB, free: 13.49 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.2777, allocations: 1.128 MB / 0.8457 GB, free: 12.35 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.2778, allocations: 41.7 kB / 0.8458 GB, free: 12.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.2782, allocations: 0.5474 MB / 0.8463 GB, free: 11.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.2784, allocations: 209.1 kB / 0.8465 GB, free: 11.54 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.2786, allocations: 170.4 kB / 0.8467 GB, free: 11.37 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2788, allocations: 334 kB / 0.847 GB, free: 11.04 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.2801, allocations: 457.6 kB / 0.8474 GB, free: 10.59 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.2817, allocations: 0.7357 MB / 0.8481 GB, free: 9.734 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/0.2847, allocations: 1.12 MB / 0.8492 GB, free: 8.508 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/0.2847, allocations: 7.938 kB / 0.8492 GB, free: 8.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003471/0.2881, allocations: 1.274 MB / 0.8505 GB, free: 7.215 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.2882, allocations: 8 kB / 0.8505 GB, free: 7.207 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2882, allocations: 8 kB / 0.8505 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.2882, allocations: 12 kB / 0.8505 GB, free: 7.188 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.2895, allocations: 267.6 kB / 0.8508 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.2895, allocations: 15.94 kB / 0.8508 GB, free: 6.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.2908, allocations: 214.9 kB / 0.851 GB, free: 6.699 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-05/0.2909, allocations: 43.98 kB / 0.851 GB, free: 6.656 MB / 0.67 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.0004551/0.2913, allocations: 295.8 kB / 0.8513 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.2915, allocations: 122.4 kB / 0.8514 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/0.2952, allocations: 1.355 MB / 0.8528 GB, free: 4.871 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.2952, allocations: 11.98 kB / 0.8528 GB, free: 4.859 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2952, allocations: 0 / 0.8528 GB, free: 4.859 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.2953, allocations: 3.984 kB / 0.8528 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004823/0.3001, allocations: 2.393 MB / 0.8551 GB, free: 2.387 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.3001, allocations: 0 / 0.8551 GB, free: 2.387 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.3012, allocations: 187.9 kB / 0.8553 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.3012, allocations: 4 kB / 0.8553 GB, free: 2.199 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.3013, allocations: 23.97 kB / 0.8553 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.3013, allocations: 4 kB / 0.8553 GB, free: 2.172 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3013, allocations: 7.938 kB / 0.8553 GB, free: 2.164 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005166/0.3065, allocations: 1.973 MB / 0.8573 GB, free: 160 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004843/0.307, allocations: 271.6 kB / 0.8575 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.3072, allocations: 19.98 kB / 0.8575 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.3082, allocations: 115.9 kB / 0.8576 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.3083, allocations: 56.38 kB / 0.8577 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.298e-05/0.3084, allocations: 35.91 kB / 0.8577 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009379/0.3094, allocations: 0.7759 MB / 0.8585 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3094, allocations: 4 kB / 0.8585 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001093/0.3105, allocations: 347.5 kB / 0.8588 GB, free: 14.52 MB / 0.6856 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.006801/0.3173, allocations: 3.072 MB / 0.8618 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003355/0.3207, allocations: 1.11 MB / 0.8629 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.3207, allocations: 4 kB / 0.8629 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.3223, allocations: 0.5736 MB / 0.8635 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.3246, allocations: 455.1 kB / 0.8639 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/0.3438, allocations: 10.59 MB / 0.8743 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.3445, allocations: 1.112 MB / 0.8753 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001161/0.3457, allocations: 252.8 kB / 0.8756 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/0.3464, allocations: 463.2 kB / 0.876 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of SimCode: time 8.01e-07/0.3464, allocations: 0 / 0.876 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/0.4812, allocations: 29.91 MB / 0.9052 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003294/0.4816, allocations: 244.3 kB / 0.9055 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.058, allocations: 0 / 0.9055 GB, free: 14.7 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)