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.315/2.315, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001135/0.001135, allocations: 180.6 kB / 487.4 MB, free: 5.047 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.496/1.496, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 97.58 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.187e-05/2.191e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2761, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.795/5.071, allocations: 1.906 GB / 3.112 GB, free: 432.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/5.071, allocations: 88.81 kB / 3.112 GB, free: 432.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.7469/5.818, allocations: 404.8 MB / 3.507 GB, free: 32.61 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.913e-06/5.818, allocations: 0 / 3.507 GB, free: 32.61 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001048/5.818, allocations: 39.88 kB / 3.507 GB, free: 32.57 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.002977/5.821, allocations: 1.62 MB / 3.509 GB, free: 30.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/5.821, allocations: 8.031 kB / 3.509 GB, free: 30.89 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/5.824, allocations: 397.6 kB / 3.509 GB, free: 30.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/5.826, allocations: 1.161 MB / 3.511 GB, free: 29.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/5.826, allocations: 44 kB / 3.511 GB, free: 29.26 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/5.826, allocations: 79.94 kB / 3.511 GB, free: 29.18 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001824/5.828, allocations: 1.371 MB / 3.512 GB, free: 27.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/5.83, allocations: 1.207 MB / 3.513 GB, free: 26.52 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/5.83, allocations: 4 kB / 3.513 GB, free: 26.52 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.811e-05/5.83, allocations: 4 kB / 3.513 GB, free: 26.52 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/5.83, allocations: 32 kB / 3.513 GB, free: 26.48 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.005816/5.836, allocations: 4.62 MB / 3.518 GB, free: 21.64 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/5.837, allocations: 1.339 MB / 3.519 GB, free: 20.22 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/5.838, allocations: 411.5 kB / 3.519 GB, free: 19.82 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/5.838, allocations: 425.2 kB / 3.52 GB, free: 19.32 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006978/5.839, allocations: 0.5582 MB / 3.52 GB, free: 18.75 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 2.876e-06/5.839, allocations: 0 / 3.52 GB, free: 18.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.002416/5.841, allocations: 1.054 MB / 3.521 GB, free: 17.68 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/5.841, allocations: 248.1 kB / 3.522 GB, free: 17.39 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006995/5.842, allocations: 0.6096 MB / 3.522 GB, free: 16.77 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.427e-05/5.842, allocations: 25.7 kB / 3.522 GB, free: 16.74 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/5.843, allocations: 0.5852 MB / 3.523 GB, free: 16.14 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/5.843, allocations: 311.3 kB / 3.523 GB, free: 15.84 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/5.843, allocations: 0 / 3.523 GB, free: 15.84 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/5.843, allocations: 345.9 kB / 3.523 GB, free: 15.49 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/5.843, allocations: 310.5 kB / 3.524 GB, free: 15.19 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/5.844, allocations: 0.4932 MB / 3.524 GB, free: 14.63 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009495/5.845, allocations: 486 kB / 3.525 GB, free: 14.15 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/5.845, allocations: 4 kB / 3.525 GB, free: 14.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002246/5.847, allocations: 1.082 MB / 3.526 GB, free: 13.05 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/5.847, allocations: 8 kB / 3.526 GB, free: 13.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/5.847, allocations: 0 / 3.526 GB, free: 13.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/5.848, allocations: 93.14 kB / 3.526 GB, free: 12.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/5.849, allocations: 223.7 kB / 3.526 GB, free: 12.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/5.85, allocations: 1.484 MB / 3.528 GB, free: 11.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000875/5.851, allocations: 99.28 kB / 3.528 GB, free: 11.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/5.851, allocations: 39.98 kB / 3.528 GB, free: 10.98 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.0002197/5.851, allocations: 124.7 kB / 3.528 GB, free: 10.86 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002018/5.853, allocations: 1.023 MB / 3.529 GB, free: 9.82 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/5.853, allocations: 110.9 kB / 3.529 GB, free: 9.711 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/5.856, allocations: 1.324 MB / 3.53 GB, free: 8.375 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/5.856, allocations: 15.94 kB / 3.53 GB, free: 8.359 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/5.856, allocations: 0 / 3.53 GB, free: 8.359 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/5.856, allocations: 7.969 kB / 3.53 GB, free: 8.352 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/5.86, allocations: 2.521 MB / 3.533 GB, free: 5.777 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/5.86, allocations: 4 kB / 3.533 GB, free: 5.773 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/5.861, allocations: 211.7 kB / 3.533 GB, free: 5.566 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/5.862, allocations: 88.72 kB / 3.533 GB, free: 5.477 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.621e-05/5.862, allocations: 19.97 kB / 3.533 GB, free: 5.457 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/5.863, allocations: 1.485 MB / 3.534 GB, free: 3.855 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.863, allocations: 4.062 kB / 3.534 GB, free: 3.852 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/5.866, allocations: 1.219 MB / 3.536 GB, free: 2.613 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/5.866, allocations: 351.3 kB / 3.536 GB, free: 2.25 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/5.866, allocations: 4 kB / 3.536 GB, free: 2.246 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008775/5.867, allocations: 79.86 kB / 3.536 GB, free: 2.168 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/5.867, allocations: 77.14 kB / 3.536 GB, free: 2.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/5.867, allocations: 51.97 kB / 3.536 GB, free: 2.039 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000603/5.868, allocations: 495.1 kB / 3.537 GB, free: 1.562 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/5.868, allocations: 0 / 3.537 GB, free: 1.562 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00177/5.87, allocations: 0.5493 MB / 3.537 GB, free: 1.012 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.7735/6.643, allocations: 3.676 MB / 3.541 GB, free: 294.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002323/6.646, allocations: 0.9494 MB / 3.542 GB, free: 294.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/6.646, allocations: 1.5 kB / 3.542 GB, free: 294.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/6.647, allocations: 0.5879 MB / 3.542 GB, free: 294.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/6.649, allocations: 373.1 kB / 3.543 GB, free: 294.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006291/6.655, allocations: 2.065 MB / 3.545 GB, free: 294.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/6.656, allocations: 1.211 MB / 3.546 GB, free: 293.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001799/6.658, allocations: 364 kB / 3.546 GB, free: 293.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009034/6.659, allocations: 0.5269 MB / 3.547 GB, free: 293.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.953e-06/6.659, allocations: 0 / 3.547 GB, free: 293.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/6.787, allocations: 39.21 MB / 3.585 GB, free: 292.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/6.787, allocations: 186.3 kB / 3.585 GB, free: 292.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.699/10.49, allocations: 0 / 3.585 GB, free: 292.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