Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.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.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",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.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001105/0.001106, allocations: 183.4 kB / 0.4901 GB, free: 2.223 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.654/1.654, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.0009684/0.0009681, allocations: 92.2 kB / 0.9396 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 12.94 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3758, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.981/5.357, allocations: 1.875 GB / 3.104 GB, free: 56.66 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/5.357, allocations: 87.89 kB / 3.104 GB, free: 56.61 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.354/7.711, allocations: 0.6094 GB / 3.713 GB, free: 280.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.733e-06/7.711, allocations: 3.281 kB / 3.714 GB, free: 280.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.736e-05/7.711, allocations: 24.77 kB / 3.714 GB, free: 280.5 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002661/7.714, allocations: 1.219 MB / 3.715 GB, free: 279.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/7.714, allocations: 7.75 kB / 3.715 GB, free: 279.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/7.714, allocations: 126.4 kB / 3.715 GB, free: 279.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/7.716, allocations: 282.2 kB / 3.715 GB, free: 279.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/7.717, allocations: 0.5659 MB / 3.716 GB, free: 279.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/7.718, allocations: 57.66 kB / 3.716 GB, free: 279.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/7.718, allocations: 76.69 kB / 3.716 GB, free: 279.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/7.719, allocations: 0.868 MB / 3.717 GB, free: 279.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/7.719, allocations: 11.33 kB / 3.717 GB, free: 279.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/7.719, allocations: 33.41 kB / 3.717 GB, free: 279.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.034e-05/7.719, allocations: 46.12 kB / 3.717 GB, free: 279.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/7.72, allocations: 0.5536 MB / 3.717 GB, free: 279.4 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.003605/7.724, allocations: 3.472 MB / 3.721 GB, free: 277.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/7.724, allocations: 220.3 kB / 3.721 GB, free: 277.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/7.725, allocations: 486.3 kB / 3.721 GB, free: 276.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/7.725, allocations: 41.34 kB / 3.721 GB, free: 276.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 2.364e-06/7.725, allocations: 0 / 3.721 GB, free: 276.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.001247/7.726, allocations: 454.8 kB / 3.722 GB, free: 276.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/7.726, allocations: 106.7 kB / 3.722 GB, free: 276.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009562/7.727, allocations: 0.761 MB / 3.723 GB, free: 276.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/7.727, allocations: 29.02 kB / 3.723 GB, free: 276.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/7.728, allocations: 384.4 kB / 3.723 GB, free: 276.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/7.728, allocations: 81.23 kB / 3.723 GB, free: 276.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/7.728, allocations: 3.812 kB / 3.723 GB, free: 276.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/7.728, allocations: 323.9 kB / 3.723 GB, free: 275.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/7.728, allocations: 102.8 kB / 3.724 GB, free: 275.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/7.728, allocations: 231.3 kB / 3.724 GB, free: 275.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/7.729, allocations: 130.8 kB / 3.724 GB, free: 275.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/7.729, allocations: 0 / 3.724 GB, free: 275.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006828/7.729, allocations: 412.5 kB / 3.724 GB, free: 275.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/7.729, allocations: 7.312 kB / 3.724 GB, free: 275.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/7.729, allocations: 3.5 kB / 3.724 GB, free: 275.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/7.729, allocations: 6.531 kB / 3.724 GB, free: 275.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/7.73, allocations: 60.56 kB / 3.724 GB, free: 275.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/7.73, allocations: 6.625 kB / 3.724 GB, free: 275.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006459/7.73, allocations: 97.12 kB / 3.724 GB, free: 275.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/7.73, allocations: 17.06 kB / 3.724 GB, free: 275.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002913/7.731, allocations: 241.7 kB / 3.725 GB, free: 275.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/7.731, allocations: 83.25 kB / 3.725 GB, free: 275.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005773/7.731, allocations: 329.4 kB / 3.725 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/7.731, allocations: 3.625 kB / 3.725 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/7.731, allocations: 0 / 3.725 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/7.731, allocations: 3.938 kB / 3.725 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/7.733, allocations: 1.357 MB / 3.726 GB, free: 274.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/7.733, allocations: 3.969 kB / 3.726 GB, free: 274.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/7.734, allocations: 50.17 kB / 3.726 GB, free: 274.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/7.734, allocations: 11.58 kB / 3.726 GB, free: 274.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/7.734, allocations: 7.344 kB / 3.726 GB, free: 274.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/7.734, allocations: 10.16 kB / 3.726 GB, free: 274.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/7.734, allocations: 3.719 kB / 3.727 GB, free: 274.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/7.734, allocations: 0.7174 MB / 3.727 GB, free: 274.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/7.735, allocations: 180.4 kB / 3.727 GB, free: 274.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/7.735, allocations: 18.19 kB / 3.727 GB, free: 274.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/7.735, allocations: 37.39 kB / 3.727 GB, free: 274.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/7.736, allocations: 32.09 kB / 3.727 GB, free: 274.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/7.736, allocations: 9.594 kB / 3.727 GB, free: 274.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008659/7.736, allocations: 0.6091 MB / 3.728 GB, free: 274 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/7.736, allocations: 7.562 kB / 3.728 GB, free: 274 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001809/7.738, allocations: 356.4 kB / 3.728 GB, free: 274 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.00406/7.742, allocations: 4.291 MB / 3.733 GB, free: 271.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006185/7.743, allocations: 260.4 kB / 3.733 GB, free: 271.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/7.743, allocations: 3.719 kB / 3.733 GB, free: 271.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/7.743, allocations: 131.5 kB / 3.733 GB, free: 271.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/7.745, allocations: 411.8 kB / 3.733 GB, free: 271.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006584/7.752, allocations: 6.074 MB / 3.739 GB, free: 267.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/7.752, allocations: 1.006 MB / 3.74 GB, free: 267.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000646/7.753, allocations: 161 kB / 3.74 GB, free: 267.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/7.753, allocations: 266.8 kB / 3.741 GB, free: 267.2 MB / 1.167 GB Notification: Performance of SimCode: time 9.42e-07/7.753, allocations: 0 / 3.741 GB, free: 267.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06796/7.821, allocations: 49.69 MB / 3.789 GB, free: 259.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/7.821, allocations: 222.9 kB / 3.789 GB, free: 259.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.516/11.34, allocations: 6.391 kB / 3.789 GB, free: 259.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat does not exist to compare? outputFormat=mat