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.0008112/0.0008112, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009247/0.0009249, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.802/1.802, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005053/0.0005054, allocations: 15.19 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02942/0.2418, allocations: 26.95 MB / 0.8137 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009881/0.2517, allocations: 6.356 MB / 0.8199 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.2532, allocations: 39.69 kB / 0.82 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.2552, allocations: 0.5558 MB / 0.8205 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004309/0.2595, allocations: 1.162 MB / 0.8216 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.2625, allocations: 0.9502 MB / 0.8226 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003449/0.2659, allocations: 2.746 MB / 0.8252 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.2673, allocations: 0.6504 MB / 0.8259 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.2692, allocations: 0.8907 MB / 0.8268 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.2707, allocations: 0.7663 MB / 0.8275 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.2709, allocations: 36 kB / 0.8275 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.2725, allocations: 0.4911 MB / 0.828 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.2728, allocations: 243 kB / 0.8282 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.2732, allocations: 225.1 kB / 0.8285 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.2748, allocations: 1.04 MB / 0.8295 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2748, allocations: 0 / 0.8295 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2748, allocations: 0 / 0.8295 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.217e-05/0.2749, allocations: 0 / 0.8295 GB, free: 0.6094 MB / 0.6387 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.003561/0.2784, allocations: 1.38 MB / 0.8308 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2785, allocations: 8.031 kB / 0.8308 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.2787, allocations: 114.5 kB / 0.8309 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.282, allocations: 0.6383 MB / 0.8316 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.2841, allocations: 0.778 MB / 0.8323 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.427e-05/0.2842, allocations: 57.94 kB / 0.8324 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.2844, allocations: 79.98 kB / 0.8325 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.2872, allocations: 1.1 MB / 0.8335 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.2872, allocations: 7.938 kB / 0.8335 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.929e-05/0.2873, allocations: 28 kB / 0.8336 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.2874, allocations: 16 kB / 0.8336 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003044/0.2904, allocations: 1.027 MB / 0.8346 GB, free: 11.18 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.006842/0.2973, allocations: 4.983 MB / 0.8394 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.3004, allocations: 0.9505 MB / 0.8404 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.3018, allocations: 0.4905 MB / 0.8409 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/0.3035, allocations: 1.603 MB / 0.8424 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/0.3053, allocations: 0.5845 MB / 0.843 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 3.827e-06/0.3053, allocations: 0 / 0.843 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.004494/0.3098, allocations: 1.516 MB / 0.8445 GB, free: 388 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3099, allocations: 59.97 kB / 0.8445 GB, free: 316 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.3114, allocations: 1.117 MB / 0.8456 GB, free: 15.18 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.735e-05/0.3115, allocations: 37.7 kB / 0.8457 GB, free: 15.14 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.312, allocations: 0.5513 MB / 0.8462 GB, free: 14.58 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.3122, allocations: 217 kB / 0.8464 GB, free: 14.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.3123, allocations: 16 kB / 0.8464 GB, free: 14.35 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3124, allocations: 337.9 kB / 0.8467 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.3138, allocations: 461.6 kB / 0.8472 GB, free: 13.56 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.3154, allocations: 0.7358 MB / 0.8479 GB, free: 12.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.3169, allocations: 0.4978 MB / 0.8484 GB, free: 12.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3169, allocations: 0 / 0.8484 GB, free: 12.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003457/0.3204, allocations: 1.286 MB / 0.8496 GB, free: 10.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.3204, allocations: 11.95 kB / 0.8496 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.3204, allocations: 11.94 kB / 0.8497 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/0.3205, allocations: 12 kB / 0.8497 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3217, allocations: 280.1 kB / 0.8499 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/0.3217, allocations: 19.92 kB / 0.85 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.3231, allocations: 199 kB / 0.8501 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.3232, allocations: 47.97 kB / 0.8502 GB, free: 10.34 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005281/0.3238, allocations: 295.7 kB / 0.8505 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.324, allocations: 118.5 kB / 0.8506 GB, free: 9.922 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.3277, allocations: 1.402 MB / 0.852 GB, free: 8.508 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.3277, allocations: 8 kB / 0.852 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3277, allocations: 0 / 0.852 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3278, allocations: 3.984 kB / 0.852 GB, free: 8.496 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/0.3328, allocations: 2.39 MB / 0.8543 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.3328, allocations: 4.188 kB / 0.8543 GB, free: 6.031 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009879/0.3338, allocations: 195.7 kB / 0.8545 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.3338, allocations: 4 kB / 0.8545 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/0.3339, allocations: 27.97 kB / 0.8545 GB, free: 5.809 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.3339, allocations: 7.938 kB / 0.8545 GB, free: 5.801 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3339, allocations: 0 / 0.8545 GB, free: 5.801 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004863/0.3388, allocations: 2.012 MB / 0.8565 GB, free: 3.746 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/0.3393, allocations: 283.3 kB / 0.8568 GB, free: 3.449 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.3396, allocations: 19.98 kB / 0.8568 GB, free: 3.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009962/0.3406, allocations: 131.9 kB / 0.8569 GB, free: 3.301 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3407, allocations: 52.44 kB / 0.857 GB, free: 3.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.3408, allocations: 35.97 kB / 0.857 GB, free: 3.215 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001002/0.3418, allocations: 0.7642 MB / 0.8577 GB, free: 2.445 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.644e-06/0.3418, allocations: 0 / 0.8577 GB, free: 2.445 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001139/0.343, allocations: 347.5 kB / 0.8581 GB, free: 2.105 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006632/0.3496, allocations: 3.09 MB / 0.8611 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003196/0.3528, allocations: 1.126 MB / 0.8622 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3529, allocations: 0 / 0.8622 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.3545, allocations: 0.5892 MB / 0.8628 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.3568, allocations: 455.7 kB / 0.8632 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.3719, allocations: 7.683 MB / 0.8707 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007161/0.3726, allocations: 1.108 MB / 0.8718 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001178/0.3738, allocations: 248.8 kB / 0.872 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000711/0.3746, allocations: 471.2 kB / 0.8725 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of SimCode: time 1.103e-06/0.3746, allocations: 4 kB / 0.8725 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05529/0.4299, allocations: 29.65 MB / 0.9014 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.4301, allocations: 228.8 kB / 0.9017 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/2.997, allocations: 1.75 kB / 0.9017 GB, free: 5.586 MB / 0.7169 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/linux/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) Environment - environmentSimulation: