Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001566/0.001565, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.002238/0.002238, allocations: 177.3 kB / 15.95 MB, free: 216 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.909/1.909, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.827/1.827, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0007422/0.0007423, allocations: 14.38 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3138, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.8156/1.129, allocations: 160.8 MB / 0.9442 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01205/1.142, allocations: 4.907 MB / 0.949 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/1.144, allocations: 40.66 kB / 0.9491 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003495/1.148, allocations: 0.7801 MB / 0.9498 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008035/1.156, allocations: 1.751 MB / 0.9515 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005352/1.161, allocations: 1.183 MB / 0.9527 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00479/1.166, allocations: 1.607 MB / 0.9543 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/1.168, allocations: 0.7554 MB / 0.955 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003698/1.172, allocations: 0.9689 MB / 0.956 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/1.174, allocations: 0.689 MB / 0.9566 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002567/1.174, allocations: 47.28 kB / 0.9567 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/1.178, allocations: 0.9315 MB / 0.9576 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005873/1.179, allocations: 379.3 kB / 0.9579 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006985/1.179, allocations: 269.5 kB / 0.9582 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00309/1.183, allocations: 1.312 MB / 0.9595 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.183, allocations: 0 / 0.9595 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/1.183, allocations: 0 / 0.9595 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.839e-05/1.183, allocations: 1.656 kB / 0.9595 GB, free: 4.957 MB / 0.7169 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.006134/1.189, allocations: 1.685 MB / 0.9611 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/1.189, allocations: 13.22 kB / 0.9611 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005118/1.189, allocations: 136.4 kB / 0.9613 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006198/1.196, allocations: 0.7494 MB / 0.962 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/1.199, allocations: 0.8493 MB / 0.9628 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.199, allocations: 66.78 kB / 0.9629 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/1.199, allocations: 90.27 kB / 0.963 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/1.203, allocations: 1.472 MB / 0.9644 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/1.203, allocations: 5.219 kB / 0.9644 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/1.203, allocations: 44.09 kB / 0.9645 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-05/1.203, allocations: 46.19 kB / 0.9645 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004403/1.207, allocations: 1.576 MB / 0.9661 GB, free: 19.32 MB / 0.7325 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.009156/1.216, allocations: 4.653 MB / 0.9706 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/1.22, allocations: 1.238 MB / 0.9718 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/1.221, allocations: 172.8 kB / 0.972 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/1.223, allocations: 0.7373 MB / 0.9727 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.256e-06/1.223, allocations: 2.906 kB / 0.9727 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.007403/1.23, allocations: 2.012 MB / 0.9747 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/1.23, allocations: 61 kB / 0.9747 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/1.233, allocations: 1.262 MB / 0.9759 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002846/1.233, allocations: 45.02 kB / 0.976 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006007/1.234, allocations: 0.578 MB / 0.9766 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/1.234, allocations: 281.5 kB / 0.9768 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/1.234, allocations: 27.75 kB / 0.9769 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.234, allocations: 344.2 kB / 0.9772 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/1.236, allocations: 0.5572 MB / 0.9777 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/1.238, allocations: 0.8213 MB / 0.9785 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/1.24, allocations: 0.6137 MB / 0.9791 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.24, allocations: 0 / 0.9791 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005054/1.245, allocations: 1.532 MB / 0.9806 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/1.245, allocations: 5.781 kB / 0.9806 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.245, allocations: 8.031 kB / 0.9806 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/1.245, allocations: 14.89 kB / 0.9806 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/1.247, allocations: 298.9 kB / 0.9809 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.385e-05/1.247, allocations: 14.47 kB / 0.9809 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.25, allocations: 224.4 kB / 0.9812 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.25, allocations: 48.06 kB / 0.9812 GB, free: 13.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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 (117): * Single equations (assignments): 117 * 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.0007498/1.25, allocations: 346.3 kB / 0.9815 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/1.251, allocations: 139.6 kB / 0.9817 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/1.255, allocations: 1.474 MB / 0.9831 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.255, allocations: 12.52 kB / 0.9831 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.255, allocations: 0 / 0.9831 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/1.255, allocations: 3.984 kB / 0.9831 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/1.262, allocations: 2.919 MB / 0.986 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.262, allocations: 6.094 kB / 0.986 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/1.264, allocations: 229.9 kB / 0.9862 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.519e-05/1.264, allocations: 11.67 kB / 0.9862 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.854e-05/1.264, allocations: 35.66 kB / 0.9862 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/1.264, allocations: 8.625 kB / 0.9863 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.264, allocations: 11.22 kB / 0.9863 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009301/1.273, allocations: 2.572 MB / 0.9888 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.274, allocations: 316.8 kB / 0.9891 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/1.275, allocations: 31 kB / 0.9891 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.276, allocations: 126.1 kB / 0.9892 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/1.276, allocations: 64.14 kB / 0.9893 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-05/1.276, allocations: 41.52 kB / 0.9893 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001383/1.278, allocations: 0.8689 MB / 0.9902 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/1.278, allocations: 1.969 kB / 0.9902 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002184/1.28, allocations: 319.8 kB / 0.9905 GB, free: 10.05 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01141/1.291, allocations: 4.683 MB / 0.9951 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006029/1.297, allocations: 1.324 MB / 0.9964 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.297, allocations: 0 / 0.9964 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003103/1.3, allocations: 0.6708 MB / 0.997 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005344/1.306, allocations: 0.5995 MB / 0.9976 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/1.336, allocations: 12.67 MB / 1.01 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.338, allocations: 1.2 MB / 1.011 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00247/1.34, allocations: 350.3 kB / 1.011 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008565/1.341, allocations: 499.9 kB / 1.012 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of SimCode: time 9.52e-07/1.341, allocations: 4 kB / 1.012 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07677/1.418, allocations: 33.73 MB / 1.045 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/1.418, allocations: 228.3 kB / 1.045 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.101/4.52, allocations: 3.625 kB / 1.045 GB, free: 11.64 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) Environment - environmentSimulation: