Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001034/0.001034, allocations: 180.9 kB / 492.3 MB, free: 0.6445 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.392/1.392, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.0008836/0.0008836, allocations: 94.78 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.989e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2303, allocations: 142.4 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.185/5.415, allocations: 1.868 GB / 3.081 GB, free: 358.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/5.416, allocations: 83.73 kB / 3.081 GB, free: 358.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.517/6.933, allocations: 430 MB / 3.501 GB, free: 297.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.372e-06/6.933, allocations: 0 / 3.501 GB, free: 297.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.637e-05/6.933, allocations: 19.77 kB / 3.501 GB, free: 297.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002598/6.936, allocations: 0.9925 MB / 3.502 GB, free: 297.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/6.936, allocations: 12.94 kB / 3.502 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/6.936, allocations: 84.33 kB / 3.502 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/6.938, allocations: 286.1 kB / 3.502 GB, free: 297 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/6.939, allocations: 455.2 kB / 3.503 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/6.939, allocations: 33.5 kB / 3.503 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/6.939, allocations: 44.72 kB / 3.503 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/6.94, allocations: 0.4903 MB / 3.503 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/6.94, allocations: 0 / 3.503 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/6.94, allocations: 18.72 kB / 3.503 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/6.94, allocations: 17.27 kB / 3.503 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/6.941, allocations: 343.8 kB / 3.504 GB, free: 296.7 MB / 1.151 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.002826/6.944, allocations: 2.142 MB / 3.506 GB, free: 295.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/6.945, allocations: 327 kB / 3.506 GB, free: 295.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/6.945, allocations: 167.6 kB / 3.506 GB, free: 295.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005834/6.945, allocations: 394.8 kB / 3.507 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004241/6.946, allocations: 243.5 kB / 3.507 GB, free: 295 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.194e-06/6.946, allocations: 3.312 kB / 3.507 GB, free: 295 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001069/6.947, allocations: 414.1 kB / 3.507 GB, free: 294.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/6.947, allocations: 61.95 kB / 3.507 GB, free: 294.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/6.948, allocations: 420.6 kB / 3.508 GB, free: 294.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/6.948, allocations: 37.77 kB / 3.508 GB, free: 294.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/6.948, allocations: 265.4 kB / 3.508 GB, free: 294.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/6.948, allocations: 122.3 kB / 3.508 GB, free: 294.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/6.948, allocations: 7.281 kB / 3.508 GB, free: 294.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001028/6.948, allocations: 370.7 kB / 3.508 GB, free: 294.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/6.948, allocations: 150.3 kB / 3.509 GB, free: 294.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/6.949, allocations: 278 kB / 3.509 GB, free: 294.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/6.949, allocations: 230.6 kB / 3.509 GB, free: 294 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/6.949, allocations: 1.062 kB / 3.509 GB, free: 294 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000958/6.95, allocations: 0.5471 MB / 3.51 GB, free: 293.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/6.95, allocations: 63.64 kB / 3.51 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/6.95, allocations: 4.344 kB / 3.51 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/6.95, allocations: 5.375 kB / 3.51 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/6.951, allocations: 111.5 kB / 3.51 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/6.951, allocations: 6.562 kB / 3.51 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006977/6.951, allocations: 98.45 kB / 3.51 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/6.952, allocations: 28.78 kB / 3.51 GB, free: 293.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.000128/6.952, allocations: 139.6 kB / 3.51 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/6.952, allocations: 53 kB / 3.51 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008587/6.953, allocations: 460.2 kB / 3.51 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/6.953, allocations: 4.938 kB / 3.51 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/6.953, allocations: 3.812 kB / 3.51 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/6.953, allocations: 3.188 kB / 3.51 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/6.955, allocations: 1.239 MB / 3.512 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/6.955, allocations: 7.094 kB / 3.512 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/6.955, allocations: 81.39 kB / 3.512 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/6.955, allocations: 5.156 kB / 3.512 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/6.955, allocations: 15.86 kB / 3.512 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/6.955, allocations: 9.422 kB / 3.512 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/6.955, allocations: 4.641 kB / 3.512 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/6.957, allocations: 0.9465 MB / 3.513 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/6.957, allocations: 169 kB / 3.513 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/6.957, allocations: 16.33 kB / 3.513 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/6.958, allocations: 58.19 kB / 3.513 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/6.958, allocations: 53.23 kB / 3.513 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/6.958, allocations: 15.78 kB / 3.513 GB, free: 292.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004314/6.958, allocations: 334.4 kB / 3.513 GB, free: 292.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.51e-07/6.958, allocations: 0 / 3.513 GB, free: 292.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001311/6.96, allocations: 291 kB / 3.514 GB, free: 292.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00438/6.964, allocations: 3.827 MB / 3.517 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008795/6.965, allocations: 495.6 kB / 3.518 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/6.965, allocations: 1.219 kB / 3.518 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004896/6.965, allocations: 242 kB / 3.518 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/6.967, allocations: 275.7 kB / 3.518 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/6.969, allocations: 0.951 MB / 3.519 GB, free: 289.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/6.97, allocations: 0.8805 MB / 3.52 GB, free: 289 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006391/6.97, allocations: 124.8 kB / 3.52 GB, free: 289 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/6.971, allocations: 175.8 kB / 3.52 GB, free: 289 MB / 1.151 GB Notification: Performance of SimCode: time 5.01e-07/6.971, allocations: 0 / 3.52 GB, free: 289 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07647/7.047, allocations: 41.13 MB / 3.561 GB, free: 288.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/7.047, allocations: 193 kB / 3.561 GB, free: 288.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.298/10.35, allocations: 0 / 3.561 GB, free: 288.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat does not exist to compare? outputFormat=mat