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.208/2.208, allocations: 390.5 MB / 398 MB, free: 11 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.001119/0.001119, allocations: 183.5 kB / 491.2 MB, free: 1.605 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.408/1.408, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.0009459/0.000946, allocations: 96.44 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.924e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2699, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.604/4.874, allocations: 1.907 GB / 3.119 GB, free: 421.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/4.874, allocations: 84.58 kB / 3.119 GB, free: 421.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.812/5.686, allocations: 404.8 MB / 3.515 GB, free: 9.109 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.395e-06/5.686, allocations: 0 / 3.515 GB, free: 9.109 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001988/5.687, allocations: 39.92 kB / 3.515 GB, free: 9.07 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.004538/5.691, allocations: 1.62 MB / 3.516 GB, free: 7.398 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/5.691, allocations: 8.031 kB / 3.516 GB, free: 7.391 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/5.694, allocations: 397.6 kB / 3.517 GB, free: 7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/5.698, allocations: 1.165 MB / 3.518 GB, free: 5.793 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/5.698, allocations: 44 kB / 3.518 GB, free: 5.75 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003635/5.698, allocations: 79.98 kB / 3.518 GB, free: 5.672 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002739/5.701, allocations: 1.367 MB / 3.519 GB, free: 4.301 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/5.704, allocations: 1.202 MB / 3.52 GB, free: 3.023 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/5.704, allocations: 7.938 kB / 3.52 GB, free: 3.016 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/5.704, allocations: 4 kB / 3.52 GB, free: 3.012 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/5.704, allocations: 32 kB / 3.52 GB, free: 2.98 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.8354/6.539, allocations: 4.614 MB / 3.525 GB, free: 284.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/6.542, allocations: 1.336 MB / 3.526 GB, free: 283.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007591/6.542, allocations: 408.5 kB / 3.527 GB, free: 283.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007447/6.543, allocations: 431.2 kB / 3.527 GB, free: 283.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/6.544, allocations: 0.5653 MB / 3.528 GB, free: 283.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 3.607e-06/6.544, allocations: 0 / 3.528 GB, free: 283.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.003458/6.548, allocations: 1.046 MB / 3.529 GB, free: 283.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/6.548, allocations: 250 kB / 3.529 GB, free: 282.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/6.549, allocations: 0.6129 MB / 3.529 GB, free: 282.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/6.549, allocations: 28.17 kB / 3.529 GB, free: 282.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007827/6.55, allocations: 0.5786 MB / 3.53 GB, free: 282.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/6.55, allocations: 314.8 kB / 3.53 GB, free: 282.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/6.55, allocations: 0 / 3.53 GB, free: 282.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001591/6.551, allocations: 342.8 kB / 3.531 GB, free: 282.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/6.551, allocations: 315.6 kB / 3.531 GB, free: 282.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/6.552, allocations: 0.4952 MB / 3.531 GB, free: 281.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/6.554, allocations: 482.8 kB / 3.532 GB, free: 281.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/6.554, allocations: 0.875 kB / 3.532 GB, free: 281.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003106/6.557, allocations: 1.087 MB / 3.533 GB, free: 281.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/6.557, allocations: 6.062 kB / 3.533 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/6.557, allocations: 3.781 kB / 3.533 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006655/6.557, allocations: 89.61 kB / 3.533 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/6.559, allocations: 228.4 kB / 3.533 GB, free: 281.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/6.561, allocations: 1.477 MB / 3.535 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/6.562, allocations: 103.3 kB / 3.535 GB, free: 280.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/6.562, allocations: 39.25 kB / 3.535 GB, free: 280.5 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.0003064/6.563, allocations: 126.8 kB / 3.535 GB, free: 280.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002873/6.565, allocations: 1.027 MB / 3.536 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/6.566, allocations: 98.41 kB / 3.536 GB, free: 280.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/6.569, allocations: 1.329 MB / 3.537 GB, free: 280.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/6.569, allocations: 10.81 kB / 3.537 GB, free: 280.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/6.569, allocations: 1.25 kB / 3.537 GB, free: 280.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/6.569, allocations: 9.359 kB / 3.537 GB, free: 280.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/6.575, allocations: 2.515 MB / 3.54 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/6.575, allocations: 0 / 3.54 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/6.576, allocations: 224.7 kB / 3.54 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/6.576, allocations: 78.7 kB / 3.54 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-05/6.576, allocations: 21.56 kB / 3.54 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/6.578, allocations: 1.495 MB / 3.542 GB, free: 278.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/6.578, allocations: 1.25 kB / 3.542 GB, free: 278.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/6.581, allocations: 1.217 MB / 3.543 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000901/6.582, allocations: 356.9 kB / 3.543 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/6.582, allocations: 9.297 kB / 3.543 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009975/6.583, allocations: 78.77 kB / 3.543 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/6.584, allocations: 70.81 kB / 3.543 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/6.584, allocations: 47.08 kB / 3.543 GB, free: 278.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000906/6.585, allocations: 492 kB / 3.544 GB, free: 278.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.2e-07/6.585, allocations: 2.219 kB / 3.544 GB, free: 278.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002338/6.587, allocations: 0.5603 MB / 3.544 GB, free: 278.1 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.0073/6.594, allocations: 3.68 MB / 3.548 GB, free: 277 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002487/6.597, allocations: 0.9561 MB / 3.549 GB, free: 276.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/6.597, allocations: 4.906 kB / 3.549 GB, free: 276.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/6.598, allocations: 0.5901 MB / 3.549 GB, free: 276.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/6.601, allocations: 363.5 kB / 3.55 GB, free: 276.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/6.608, allocations: 2.062 MB / 3.552 GB, free: 276.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/6.609, allocations: 1.203 MB / 3.553 GB, free: 275.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001974/6.611, allocations: 370.5 kB / 3.553 GB, free: 275.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000871/6.612, allocations: 0.5296 MB / 3.554 GB, free: 275.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.322e-06/6.612, allocations: 0 / 3.554 GB, free: 275.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09529/6.707, allocations: 39.21 MB / 3.592 GB, free: 274.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/6.708, allocations: 193.9 kB / 3.592 GB, free: 274.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.449/10.16, allocations: 0 / 3.592 GB, free: 274.7 MB / 1.151 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