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.239/2.239, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.001129/0.001129, allocations: 184.7 kB / 496.1 MB, free: 12.86 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.452/1.452, allocations: 221.3 MB / 0.7915 GB, free: 5.48 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.0009353/0.0009354, allocations: 87.95 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.106e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2783, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.823/5.102, allocations: 1.875 GB / 3.094 GB, free: 434.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/5.102, allocations: 84.38 kB / 3.094 GB, free: 434.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.802/6.904, allocations: 0.6089 GB / 3.703 GB, free: 267 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.164e-06/6.904, allocations: 0 / 3.703 GB, free: 267 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.819e-05/6.905, allocations: 31.94 kB / 3.703 GB, free: 266.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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002698/6.907, allocations: 1.12 MB / 3.704 GB, free: 265.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/6.907, allocations: 12.03 kB / 3.704 GB, free: 265.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/6.908, allocations: 126.5 kB / 3.704 GB, free: 265.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/6.909, allocations: 297.7 kB / 3.704 GB, free: 265.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/6.911, allocations: 0.556 MB / 3.705 GB, free: 264.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/6.911, allocations: 61.98 kB / 3.705 GB, free: 264.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/6.911, allocations: 72 kB / 3.705 GB, free: 264.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/6.912, allocations: 0.8425 MB / 3.706 GB, free: 263.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/6.912, allocations: 3.938 kB / 3.706 GB, free: 263.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/6.912, allocations: 35.98 kB / 3.706 GB, free: 263.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/6.912, allocations: 37.3 kB / 3.706 GB, free: 263.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007978/6.913, allocations: 0.5108 MB / 3.706 GB, free: 263.2 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.003267/6.916, allocations: 3.484 MB / 3.71 GB, free: 259.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/6.917, allocations: 201.8 kB / 3.71 GB, free: 259.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/6.917, allocations: 122.5 kB / 3.71 GB, free: 259.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/6.917, allocations: 486.3 kB / 3.71 GB, free: 258.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/6.917, allocations: 46.8 kB / 3.71 GB, free: 258.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 2.345e-06/6.917, allocations: 0 / 3.71 GB, free: 258.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.0008679/6.918, allocations: 318.5 kB / 3.711 GB, free: 258.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/6.918, allocations: 110.8 kB / 3.711 GB, free: 258.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/6.919, allocations: 0.7467 MB / 3.711 GB, free: 257.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/6.919, allocations: 29.7 kB / 3.712 GB, free: 257.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/6.919, allocations: 387.7 kB / 3.712 GB, free: 257 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/6.92, allocations: 82.98 kB / 3.712 GB, free: 256.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/6.92, allocations: 4 kB / 3.712 GB, free: 256.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/6.92, allocations: 322 kB / 3.712 GB, free: 256.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/6.92, allocations: 79.97 kB / 3.712 GB, free: 256.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/6.92, allocations: 210.5 kB / 3.713 GB, free: 256.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/6.92, allocations: 113.8 kB / 3.713 GB, free: 256.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/6.92, allocations: 0 / 3.713 GB, free: 256.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005032/6.921, allocations: 372.5 kB / 3.713 GB, free: 255.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/6.921, allocations: 5.562 kB / 3.713 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/6.921, allocations: 4 kB / 3.713 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/6.921, allocations: 4 kB / 3.713 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/6.921, allocations: 63.91 kB / 3.713 GB, free: 255.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/6.921, allocations: 11.89 kB / 3.713 GB, free: 255.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/6.922, allocations: 95.25 kB / 3.713 GB, free: 255.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/6.922, allocations: 24 kB / 3.713 GB, free: 255.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 () * 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 8.455e-05/6.922, allocations: 124.8 kB / 3.713 GB, free: 255.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/6.922, allocations: 82.97 kB / 3.713 GB, free: 255.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/6.922, allocations: 289.5 kB / 3.714 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/6.922, allocations: 1.531 kB / 3.714 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/6.922, allocations: 4 kB / 3.714 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/6.922, allocations: 3.984 kB / 3.714 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/6.924, allocations: 1.323 MB / 3.715 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/6.924, allocations: 7.938 kB / 3.715 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/6.924, allocations: 47.91 kB / 3.715 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/6.924, allocations: 4 kB / 3.715 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/6.924, allocations: 12 kB / 3.715 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/6.924, allocations: 4 kB / 3.715 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/6.924, allocations: 11.92 kB / 3.715 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/6.925, allocations: 0.6825 MB / 3.716 GB, free: 252.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/6.925, allocations: 188 kB / 3.716 GB, free: 252.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/6.925, allocations: 11.05 kB / 3.716 GB, free: 252.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/6.926, allocations: 35.97 kB / 3.716 GB, free: 252.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/6.926, allocations: 31.88 kB / 3.716 GB, free: 252.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/6.926, allocations: 12 kB / 3.716 GB, free: 252.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006177/6.926, allocations: 0.5928 MB / 3.717 GB, free: 251.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/6.926, allocations: 0 / 3.717 GB, free: 251.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001362/6.928, allocations: 351.9 kB / 3.717 GB, free: 251.5 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 () * 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.003707/6.932, allocations: 4.259 MB / 3.721 GB, free: 247 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004315/6.932, allocations: 229.2 kB / 3.721 GB, free: 246.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/6.932, allocations: 4 kB / 3.721 GB, free: 246.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/6.932, allocations: 113.4 kB / 3.721 GB, free: 246.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/6.934, allocations: 404.9 kB / 3.722 GB, free: 246.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/6.936, allocations: 1.127 MB / 3.723 GB, free: 245.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/6.937, allocations: 1.008 MB / 3.724 GB, free: 244.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005981/6.937, allocations: 162.1 kB / 3.724 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/6.937, allocations: 263.3 kB / 3.724 GB, free: 243.6 MB / 1.167 GB Notification: Performance of SimCode: time 7.01e-07/6.937, allocations: 0 / 3.724 GB, free: 243.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07553/7.013, allocations: 54.65 MB / 3.778 GB, free: 189.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/7.013, allocations: 203.5 kB / 3.778 GB, free: 189.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.725/10.74, allocations: 0 / 3.778 GB, free: 189.1 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