Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.168/2.168, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001046/0.001046, allocations: 191.1 kB / 0.4901 GB, free: 2.25 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.617/1.617, allocations: 223.1 MB / 0.7992 GB, free: 15.74 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.001075/0.001076, allocations: 112.1 kB / 0.9396 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000444/0.0004443, allocations: 15.47 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3562, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.726/5.082, allocations: 1.907 GB / 3.137 GB, free: 24.07 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/5.082, allocations: 90.83 kB / 3.137 GB, free: 24.02 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.594/6.676, allocations: 410 MB / 3.537 GB, free: 86.54 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.138e-06/6.676, allocations: 0 / 3.537 GB, free: 86.54 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002992/6.677, allocations: 43.98 kB / 3.537 GB, free: 86.49 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.006763/6.683, allocations: 1.79 MB / 3.539 GB, free: 84.64 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.827e-05/6.683, allocations: 8.828 kB / 3.539 GB, free: 84.64 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004101/6.684, allocations: 198.3 kB / 3.539 GB, free: 84.43 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/6.687, allocations: 397.7 kB / 3.54 GB, free: 84.04 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/6.69, allocations: 1.176 MB / 3.541 GB, free: 82.82 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/6.69, allocations: 94.62 kB / 3.541 GB, free: 82.73 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/6.691, allocations: 128 kB / 3.541 GB, free: 82.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/6.693, allocations: 1.437 MB / 3.542 GB, free: 81.09 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/6.693, allocations: 3.938 kB / 3.542 GB, free: 81.08 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/6.693, allocations: 59.98 kB / 3.542 GB, free: 81.02 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/6.693, allocations: 32 kB / 3.542 GB, free: 80.99 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/6.696, allocations: 1.528 MB / 3.544 GB, free: 79.46 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.007012/6.703, allocations: 4.889 MB / 3.549 GB, free: 74.34 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/6.705, allocations: 1.47 MB / 3.55 GB, free: 72.79 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/6.706, allocations: 425.4 kB / 3.551 GB, free: 72.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009994/6.707, allocations: 0.6372 MB / 3.551 GB, free: 71.64 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 2.915e-06/6.707, allocations: 3.938 kB / 3.551 GB, free: 71.64 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.003749/6.71, allocations: 1.599 MB / 3.553 GB, free: 70.01 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/6.711, allocations: 240.3 kB / 3.553 GB, free: 69.72 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/6.712, allocations: 0.8146 MB / 3.554 GB, free: 68.89 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.417e-05/6.712, allocations: 45.7 kB / 3.554 GB, free: 68.84 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000403/6.712, allocations: 0.5699 MB / 3.554 GB, free: 68.26 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/6.712, allocations: 327.2 kB / 3.555 GB, free: 67.93 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/6.712, allocations: 20 kB / 3.555 GB, free: 67.91 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/6.712, allocations: 341.9 kB / 3.555 GB, free: 67.57 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/6.713, allocations: 361.8 kB / 3.555 GB, free: 67.22 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007146/6.714, allocations: 0.546 MB / 3.556 GB, free: 66.61 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/6.714, allocations: 442.8 kB / 3.556 GB, free: 66.18 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/6.714, allocations: 3.938 kB / 3.556 GB, free: 66.17 MB / 1.167 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002112/6.717, allocations: 1.129 MB / 3.557 GB, free: 65.03 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/6.717, allocations: 8.938 kB / 3.557 GB, free: 65.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/6.717, allocations: 4 kB / 3.557 GB, free: 65.02 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/6.717, allocations: 93.14 kB / 3.558 GB, free: 64.92 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/6.718, allocations: 223.7 kB / 3.558 GB, free: 64.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/6.72, allocations: 1.558 MB / 3.559 GB, free: 63.01 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/6.721, allocations: 139 kB / 3.559 GB, free: 62.87 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.521e-05/6.721, allocations: 35.98 kB / 3.559 GB, free: 62.84 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007171/6.722, allocations: 338.9 kB / 3.56 GB, free: 62.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/6.722, allocations: 114.6 kB / 3.56 GB, free: 62.38 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/6.725, allocations: 1.381 MB / 3.561 GB, free: 60.98 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/6.725, allocations: 12 kB / 3.561 GB, free: 60.97 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/6.725, allocations: 3.953 kB / 3.561 GB, free: 60.97 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/6.725, allocations: 4.031 kB / 3.561 GB, free: 60.96 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/6.729, allocations: 2.727 MB / 3.564 GB, free: 58.18 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/6.729, allocations: 0 / 3.564 GB, free: 58.18 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/6.73, allocations: 219.7 kB / 3.564 GB, free: 57.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005038/6.73, allocations: 84.77 kB / 3.564 GB, free: 57.88 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/6.731, allocations: 23.98 kB / 3.564 GB, free: 57.86 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/6.732, allocations: 1.587 MB / 3.566 GB, free: 56.13 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/6.732, allocations: 0 / 3.566 GB, free: 56.13 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/6.734, allocations: 1.254 MB / 3.567 GB, free: 54.86 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/6.735, allocations: 375.1 kB / 3.567 GB, free: 54.47 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/6.735, allocations: 23.95 kB / 3.567 GB, free: 54.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/6.736, allocations: 103.8 kB / 3.567 GB, free: 54.35 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/6.736, allocations: 72.89 kB / 3.568 GB, free: 54.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/6.736, allocations: 47.97 kB / 3.568 GB, free: 54.23 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008286/6.737, allocations: 0.6412 MB / 3.568 GB, free: 53.57 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/6.737, allocations: 0 / 3.568 GB, free: 53.57 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002118/6.739, allocations: 0.6081 MB / 3.569 GB, free: 52.96 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00576/6.745, allocations: 3.619 MB / 3.572 GB, free: 49.46 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00202/6.747, allocations: 1.07 MB / 3.573 GB, free: 48.38 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/6.747, allocations: 7.938 kB / 3.573 GB, free: 48.37 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/6.748, allocations: 0.6485 MB / 3.574 GB, free: 47.71 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/6.75, allocations: 466.6 kB / 3.574 GB, free: 47.27 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/6.762, allocations: 8.986 MB / 3.583 GB, free: 37.98 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/6.763, allocations: 1.205 MB / 3.584 GB, free: 36.75 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001523/6.764, allocations: 381.2 kB / 3.585 GB, free: 36.37 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006765/6.765, allocations: 0.5227 MB / 3.585 GB, free: 35.85 MB / 1.167 GB Notification: Performance of SimCode: time 1.743e-06/6.765, allocations: 0 / 3.585 GB, free: 35.85 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8906/7.655, allocations: 53.66 MB / 3.638 GB, free: 302.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/7.656, allocations: 266.4 kB / 3.638 GB, free: 302.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.085/11.74, allocations: 0 / 3.638 GB, free: 302.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat does not exist to compare? outputFormat=mat