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.267/2.267, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001152/0.001151, allocations: 180 kB / 0.4901 GB, free: 2.211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009001/0.0009, allocations: 105.9 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004019, allocations: 10.19 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3299, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.624/4.953, allocations: 1.875 GB / 3.104 GB, free: 107.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/4.954, allocations: 87.95 kB / 3.104 GB, free: 107.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.098/8.052, allocations: 0.6869 GB / 3.791 GB, free: 287.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.814e-06/8.052, allocations: 1.469 kB / 3.791 GB, free: 287.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00012/8.052, allocations: 49.8 kB / 3.791 GB, free: 287.4 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.008047/8.06, allocations: 2.063 MB / 3.793 GB, free: 286.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/8.06, allocations: 13.86 kB / 3.793 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003276/8.06, allocations: 142.3 kB / 3.793 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005171/8.066, allocations: 0.8722 MB / 3.794 GB, free: 286.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/8.07, allocations: 1.138 MB / 3.795 GB, free: 286.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.113e-05/8.07, allocations: 68.73 kB / 3.795 GB, free: 286.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/8.07, allocations: 96.2 kB / 3.795 GB, free: 286.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/8.074, allocations: 1.554 MB / 3.797 GB, free: 286 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/8.074, allocations: 1.781 kB / 3.797 GB, free: 286 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/8.074, allocations: 34.84 kB / 3.797 GB, free: 286 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/8.074, allocations: 39.14 kB / 3.797 GB, free: 286 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/8.078, allocations: 1.677 MB / 3.798 GB, free: 286 MB / 1.167 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.008876/8.087, allocations: 5.036 MB / 3.803 GB, free: 284.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/8.091, allocations: 1.637 MB / 3.805 GB, free: 284.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/8.093, allocations: 0.9538 MB / 3.806 GB, free: 283.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002344/8.095, allocations: 0.9679 MB / 3.807 GB, free: 283.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=95): time 3.346e-06/8.095, allocations: 0 / 3.807 GB, free: 283.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=95): time 0.00785/8.103, allocations: 2.595 MB / 3.809 GB, free: 282.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/8.103, allocations: 61.97 kB / 3.809 GB, free: 282.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/8.105, allocations: 1.056 MB / 3.81 GB, free: 282.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/8.105, allocations: 49.08 kB / 3.811 GB, free: 282.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000547/8.106, allocations: 0.5428 MB / 3.811 GB, free: 282.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/8.106, allocations: 332.4 kB / 3.811 GB, free: 282 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/8.106, allocations: 18.97 kB / 3.811 GB, free: 282 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001226/8.106, allocations: 343.1 kB / 3.812 GB, free: 281.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/8.108, allocations: 0.7437 MB / 3.812 GB, free: 281.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/8.111, allocations: 0.99 MB / 3.813 GB, free: 281.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/8.113, allocations: 0.7822 MB / 3.814 GB, free: 281 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/8.113, allocations: 0 / 3.814 GB, free: 281 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005113/8.118, allocations: 1.867 MB / 3.816 GB, free: 280.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/8.118, allocations: 14.73 kB / 3.816 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/8.118, allocations: 3.469 kB / 3.816 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.365e-05/8.118, allocations: 7.938 kB / 3.816 GB, free: 280.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/8.12, allocations: 358.1 kB / 3.816 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/8.12, allocations: 10.81 kB / 3.816 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/8.122, allocations: 258.8 kB / 3.817 GB, free: 280.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/8.122, allocations: 57.62 kB / 3.817 GB, free: 280.3 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 () * Number of clocked 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.0008833/8.123, allocations: 339.3 kB / 3.817 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/8.123, allocations: 135.9 kB / 3.817 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005011/8.128, allocations: 1.965 MB / 3.819 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/8.128, allocations: 10.97 kB / 3.819 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/8.128, allocations: 0 / 3.819 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/8.128, allocations: 3.984 kB / 3.819 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007572/8.136, allocations: 3.581 MB / 3.823 GB, free: 277.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/8.136, allocations: 7.25 kB / 3.823 GB, free: 277.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/8.138, allocations: 317.5 kB / 3.823 GB, free: 277.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/8.138, allocations: 10 kB / 3.823 GB, free: 277.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/8.138, allocations: 38.25 kB / 3.823 GB, free: 277.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/8.138, allocations: 11.02 kB / 3.823 GB, free: 277.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/8.138, allocations: 6.469 kB / 3.823 GB, free: 277.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007262/8.145, allocations: 3.264 MB / 3.826 GB, free: 275.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/8.146, allocations: 373.3 kB / 3.826 GB, free: 275 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/8.147, allocations: 27.73 kB / 3.826 GB, free: 275 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/8.148, allocations: 185.3 kB / 3.827 GB, free: 274.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/8.148, allocations: 78.34 kB / 3.827 GB, free: 274.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.943e-05/8.148, allocations: 42.05 kB / 3.827 GB, free: 274.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001122/8.15, allocations: 0.8334 MB / 3.828 GB, free: 274.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/8.15, allocations: 0 / 3.828 GB, free: 274.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001958/8.152, allocations: 0.523 MB / 3.828 GB, free: 273.6 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) * Number of clocked states: 0 () * 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.01063/8.162, allocations: 6.805 MB / 3.835 GB, free: 267.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004671/8.167, allocations: 1.724 MB / 3.836 GB, free: 265.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/8.167, allocations: 4 kB / 3.836 GB, free: 265.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/8.169, allocations: 0.9091 MB / 3.837 GB, free: 264.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/8.173, allocations: 0.5654 MB / 3.838 GB, free: 264.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03048/8.203, allocations: 13.1 MB / 3.851 GB, free: 250.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/8.204, allocations: 1.22 MB / 3.852 GB, free: 249.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001975/8.206, allocations: 397.5 kB / 3.852 GB, free: 249.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008275/8.207, allocations: 0.5247 MB / 3.853 GB, free: 248.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.954e-06/8.207, allocations: 0 / 3.853 GB, free: 248.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09202/8.299, allocations: 60.69 MB / 3.912 GB, free: 188.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/8.299, allocations: 239.2 kB / 3.912 GB, free: 188.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.206/12.51, allocations: 0 / 3.912 GB, free: 188.7 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