Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.077/2.077, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001156/0.001156, allocations: 184.1 kB / 492.3 MB, free: 0.6055 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.416/1.416, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009112/0.0009112, allocations: 98.98 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.594e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2635, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.875/5.138, allocations: 1.907 GB / 3.119 GB, free: 348.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/5.139, allocations: 88.48 kB / 3.119 GB, free: 348.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.517/6.656, allocations: 409.4 MB / 3.519 GB, free: 294.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.874e-06/6.656, allocations: 0 / 3.519 GB, free: 294.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001285/6.656, allocations: 42.8 kB / 3.519 GB, free: 294.3 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003244/6.659, allocations: 1.613 MB / 3.521 GB, free: 293.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/6.659, allocations: 9.5 kB / 3.521 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/6.66, allocations: 197.9 kB / 3.521 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/6.662, allocations: 391.4 kB / 3.521 GB, free: 293.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/6.665, allocations: 1.169 MB / 3.522 GB, free: 293.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/6.665, allocations: 101.9 kB / 3.522 GB, free: 293.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/6.666, allocations: 129.3 kB / 3.523 GB, free: 293.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/6.669, allocations: 1.389 MB / 3.524 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/6.669, allocations: 3.812 kB / 3.524 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/6.669, allocations: 55.5 kB / 3.524 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/6.669, allocations: 35.69 kB / 3.524 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/6.672, allocations: 1.454 MB / 3.525 GB, free: 293 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.007812/6.679, allocations: 4.893 MB / 3.53 GB, free: 291 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/6.682, allocations: 1.388 MB / 3.532 GB, free: 290.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006776/6.682, allocations: 437 kB / 3.532 GB, free: 290.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006407/6.683, allocations: 422.6 kB / 3.532 GB, free: 290.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009488/6.684, allocations: 0.6033 MB / 3.533 GB, free: 290.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 3.166e-06/6.684, allocations: 2.062 kB / 3.533 GB, free: 290.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.00257/6.686, allocations: 1.018 MB / 3.534 GB, free: 290 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/6.687, allocations: 246.6 kB / 3.534 GB, free: 289.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/6.688, allocations: 0.7969 MB / 3.535 GB, free: 289.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.214e-05/6.688, allocations: 46.52 kB / 3.535 GB, free: 289.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/6.688, allocations: 0.5628 MB / 3.536 GB, free: 289.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/6.688, allocations: 326.8 kB / 3.536 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/6.689, allocations: 21.53 kB / 3.536 GB, free: 289.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.202e-05/6.689, allocations: 342 kB / 3.536 GB, free: 288.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/6.689, allocations: 329.9 kB / 3.537 GB, free: 288.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/6.69, allocations: 0.5194 MB / 3.537 GB, free: 288.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005395/6.69, allocations: 402.5 kB / 3.537 GB, free: 288.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/6.69, allocations: 0 / 3.537 GB, free: 288.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001872/6.692, allocations: 1.07 MB / 3.539 GB, free: 288.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/6.692, allocations: 6.969 kB / 3.539 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/6.692, allocations: 3.969 kB / 3.539 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/6.693, allocations: 90.95 kB / 3.539 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/6.694, allocations: 234.8 kB / 3.539 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/6.695, allocations: 1.534 MB / 3.54 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/6.696, allocations: 135.9 kB / 3.54 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.716e-05/6.696, allocations: 42.72 kB / 3.54 GB, free: 287.2 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete 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.0002201/6.697, allocations: 167.7 kB / 3.541 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/6.697, allocations: 118.8 kB / 3.541 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/6.699, allocations: 1.323 MB / 3.542 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/6.699, allocations: 7.812 kB / 3.542 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/6.699, allocations: 0 / 3.542 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/6.699, allocations: 10.61 kB / 3.542 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/6.703, allocations: 2.65 MB / 3.545 GB, free: 286.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/6.703, allocations: 3.625 kB / 3.545 GB, free: 286.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008908/6.704, allocations: 218.4 kB / 3.545 GB, free: 286.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/6.705, allocations: 86.2 kB / 3.545 GB, free: 286.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/6.705, allocations: 32.12 kB / 3.545 GB, free: 286.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/6.706, allocations: 1.552 MB / 3.547 GB, free: 285.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/6.706, allocations: 2.75 kB / 3.547 GB, free: 285.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/6.708, allocations: 1.198 MB / 3.548 GB, free: 285.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005983/6.709, allocations: 372 kB / 3.548 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/6.709, allocations: 21.09 kB / 3.548 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008433/6.71, allocations: 99.8 kB / 3.548 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/6.71, allocations: 80.52 kB / 3.548 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-05/6.71, allocations: 48.17 kB / 3.548 GB, free: 284.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007571/6.711, allocations: 0.6279 MB / 3.549 GB, free: 284.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/6.711, allocations: 0 / 3.549 GB, free: 284.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001844/6.713, allocations: 0.6118 MB / 3.549 GB, free: 284.7 MB / 1.151 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) * 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.004839/6.717, allocations: 3.514 MB / 3.553 GB, free: 283.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001616/6.719, allocations: 0.9998 MB / 3.554 GB, free: 283.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/6.719, allocations: 3.125 kB / 3.554 GB, free: 283.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000798/6.72, allocations: 0.6293 MB / 3.555 GB, free: 283.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/6.722, allocations: 465.7 kB / 3.555 GB, free: 283.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/6.727, allocations: 2.162 MB / 3.557 GB, free: 282.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/6.727, allocations: 1.216 MB / 3.558 GB, free: 282.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00135/6.729, allocations: 379.9 kB / 3.559 GB, free: 282.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/6.729, allocations: 0.5242 MB / 3.559 GB, free: 282.1 MB / 1.151 GB Notification: Performance of SimCode: time 8.92e-07/6.729, allocations: 0 / 3.559 GB, free: 282.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09491/6.824, allocations: 57.38 MB / 3.615 GB, free: 278.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/6.825, allocations: 232.8 kB / 3.615 GB, free: 278.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.083/10.91, allocations: 0 / 3.615 GB, free: 278.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat does not exist to compare? outputFormat=mat