Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.318/2.318, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 221.3 MB / 0.7915 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 98.61 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/4.012e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3205, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.392/5.712, allocations: 1.875 GB / 3.093 GB, free: 433.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/5.713, allocations: 89.59 kB / 3.093 GB, free: 433.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.369/8.081, allocations: 0.6864 GB / 3.78 GB, free: 186.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.292e-06/8.081, allocations: 0 / 3.78 GB, free: 186.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001716/8.081, allocations: 43.98 kB / 3.78 GB, free: 186.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007005/8.088, allocations: 1.858 MB / 3.782 GB, free: 185 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/8.088, allocations: 12.03 kB / 3.782 GB, free: 185 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003336/8.089, allocations: 131.6 kB / 3.782 GB, free: 184.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004916/8.094, allocations: 0.8878 MB / 3.783 GB, free: 183.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/8.097, allocations: 1.141 MB / 3.784 GB, free: 182.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/8.098, allocations: 62 kB / 3.784 GB, free: 182.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/8.098, allocations: 91.91 kB / 3.784 GB, free: 182.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/8.1, allocations: 1.283 MB / 3.785 GB, free: 181.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/8.1, allocations: 0 / 3.785 GB, free: 181.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/8.1, allocations: 32 kB / 3.785 GB, free: 181.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/8.1, allocations: 37.98 kB / 3.785 GB, free: 181.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/8.102, allocations: 1.14 MB / 3.786 GB, free: 180.1 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.007682/8.109, allocations: 5.037 MB / 3.791 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/8.111, allocations: 1.114 MB / 3.792 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/8.112, allocations: 0.5968 MB / 3.793 GB, free: 173.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/8.113, allocations: 0.945 MB / 3.794 GB, free: 172 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009716/8.114, allocations: 0.7047 MB / 3.795 GB, free: 171.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=95): time 3.697e-06/8.114, allocations: 0 / 3.795 GB, free: 171.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.002675/8.116, allocations: 1.314 MB / 3.796 GB, free: 169.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/8.116, allocations: 60.19 kB / 3.796 GB, free: 169.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/8.118, allocations: 1.052 MB / 3.797 GB, free: 168.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/8.118, allocations: 53.7 kB / 3.797 GB, free: 168.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/8.118, allocations: 0.5487 MB / 3.798 GB, free: 168.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/8.118, allocations: 323.3 kB / 3.798 GB, free: 167.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/8.119, allocations: 23.94 kB / 3.798 GB, free: 167.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/8.119, allocations: 345.9 kB / 3.798 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000724/8.119, allocations: 489.8 kB / 3.799 GB, free: 167 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/8.12, allocations: 0.7184 MB / 3.799 GB, free: 166.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/8.121, allocations: 0.5123 MB / 3.8 GB, free: 165.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/8.121, allocations: 8 kB / 3.8 GB, free: 165.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002031/8.123, allocations: 1.339 MB / 3.801 GB, free: 164.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/8.123, allocations: 4.938 kB / 3.801 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/8.123, allocations: 16.02 kB / 3.801 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/8.123, allocations: 8 kB / 3.801 GB, free: 164.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/8.125, allocations: 351.4 kB / 3.802 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/8.125, allocations: 15.95 kB / 3.802 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/8.127, allocations: 262.7 kB / 3.802 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/8.127, allocations: 63.88 kB / 3.802 GB, free: 163.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0002411/8.127, allocations: 163 kB / 3.802 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/8.127, allocations: 134.3 kB / 3.802 GB, free: 163.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/8.13, allocations: 1.437 MB / 3.804 GB, free: 161.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/8.13, allocations: 12 kB / 3.804 GB, free: 161.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/8.13, allocations: 0 / 3.804 GB, free: 161.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/8.13, allocations: 7.938 kB / 3.804 GB, free: 161.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/8.134, allocations: 3.055 MB / 3.807 GB, free: 158.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/8.134, allocations: 4 kB / 3.807 GB, free: 158.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/8.136, allocations: 311.8 kB / 3.807 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/8.136, allocations: 8 kB / 3.807 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/8.136, allocations: 43.95 kB / 3.807 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/8.136, allocations: 8 kB / 3.807 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/8.136, allocations: 7.938 kB / 3.807 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/8.139, allocations: 2.473 MB / 3.809 GB, free: 155.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/8.14, allocations: 367.2 kB / 3.81 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/8.14, allocations: 27.98 kB / 3.81 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/8.142, allocations: 179.6 kB / 3.81 GB, free: 155.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/8.142, allocations: 76.59 kB / 3.81 GB, free: 155.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/8.142, allocations: 51.94 kB / 3.81 GB, free: 155 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001022/8.143, allocations: 0.8174 MB / 3.811 GB, free: 154.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/8.143, allocations: 4 kB / 3.811 GB, free: 154.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001785/8.145, allocations: 0.5153 MB / 3.811 GB, free: 153.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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.00621/8.151, allocations: 5.977 MB / 3.817 GB, free: 147.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001942/8.153, allocations: 1.205 MB / 3.818 GB, free: 146.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/8.153, allocations: 0 / 3.818 GB, free: 146.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009124/8.154, allocations: 0.6388 MB / 3.819 GB, free: 145.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/8.157, allocations: 0.5701 MB / 3.82 GB, free: 145.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/8.172, allocations: 3.4 MB / 3.823 GB, free: 141.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/8.173, allocations: 1.22 MB / 3.824 GB, free: 140.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001849/8.175, allocations: 397.8 kB / 3.824 GB, free: 140.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008912/8.176, allocations: 0.5227 MB / 3.825 GB, free: 139.5 MB / 1.167 GB Notification: Performance of SimCode: time 8.32e-07/8.176, allocations: 0 / 3.825 GB, free: 139.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08939/8.265, allocations: 65.06 MB / 3.888 GB, free: 74.81 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/8.266, allocations: 197 kB / 3.889 GB, free: 74.59 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.282/12.55, allocations: 4 kB / 3.889 GB, free: 74.59 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat does not exist to compare? outputFormat=mat