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.22/2.22, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001151/0.001151, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.000875/0.0008751, allocations: 91.89 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.966e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.237, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.407/4.644, allocations: 1.907 GB / 3.126 GB, free: 406.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/4.644, allocations: 87.95 kB / 3.126 GB, free: 406.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.474/6.118, allocations: 409.4 MB / 3.526 GB, free: 293 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.733e-06/6.118, allocations: 0 / 3.526 GB, free: 293 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000214/6.119, allocations: 40.84 kB / 3.526 GB, free: 293 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.005341/6.124, allocations: 1.623 MB / 3.528 GB, free: 292.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/6.124, allocations: 11.25 kB / 3.528 GB, free: 292.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006118/6.125, allocations: 192.1 kB / 3.528 GB, free: 292.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/6.128, allocations: 393 kB / 3.528 GB, free: 292.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/6.132, allocations: 1.172 MB / 3.53 GB, free: 292 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/6.132, allocations: 98.53 kB / 3.53 GB, free: 292 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003816/6.133, allocations: 130.5 kB / 3.53 GB, free: 292 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/6.137, allocations: 1.381 MB / 3.531 GB, free: 291.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/6.137, allocations: 8.25 kB / 3.531 GB, free: 291.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/6.137, allocations: 58.34 kB / 3.531 GB, free: 291.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/6.137, allocations: 32.25 kB / 3.531 GB, free: 291.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002798/6.14, allocations: 1.455 MB / 3.533 GB, free: 291.8 MB / 1.167 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.007756/6.147, allocations: 4.885 MB / 3.537 GB, free: 289.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/6.15, allocations: 1.392 MB / 3.539 GB, free: 289.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/6.15, allocations: 437.5 kB / 3.539 GB, free: 289.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006621/6.151, allocations: 424.3 kB / 3.54 GB, free: 289 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/6.152, allocations: 0.6008 MB / 3.54 GB, free: 288.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 3.617e-06/6.152, allocations: 3.688 kB / 3.54 GB, free: 288.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.002513/6.155, allocations: 1.015 MB / 3.541 GB, free: 288.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/6.155, allocations: 248 kB / 3.541 GB, free: 288.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/6.156, allocations: 0.7952 MB / 3.542 GB, free: 288.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.219e-05/6.156, allocations: 48.48 kB / 3.542 GB, free: 288.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000501/6.157, allocations: 0.56 MB / 3.543 GB, free: 288.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/6.157, allocations: 330.5 kB / 3.543 GB, free: 288 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/6.157, allocations: 17.91 kB / 3.543 GB, free: 288 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/6.157, allocations: 346 kB / 3.543 GB, free: 287.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005708/6.158, allocations: 328 kB / 3.544 GB, free: 287.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/6.158, allocations: 0.5145 MB / 3.544 GB, free: 287.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/6.159, allocations: 407 kB / 3.545 GB, free: 287.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/6.159, allocations: 1.031 kB / 3.545 GB, free: 287.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002284/6.161, allocations: 1.07 MB / 3.546 GB, free: 287.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/6.161, allocations: 9.531 kB / 3.546 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/6.161, allocations: 4.312 kB / 3.546 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/6.162, allocations: 89.44 kB / 3.546 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/6.163, allocations: 230.5 kB / 3.546 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/6.165, allocations: 1.539 MB / 3.547 GB, free: 286.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/6.166, allocations: 140.2 kB / 3.548 GB, free: 286.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/6.166, allocations: 44.78 kB / 3.548 GB, free: 286.1 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 () * 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.000243/6.166, allocations: 160.5 kB / 3.548 GB, free: 285.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/6.167, allocations: 115.7 kB / 3.548 GB, free: 285.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/6.17, allocations: 1.314 MB / 3.549 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/6.17, allocations: 11.66 kB / 3.549 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/6.17, allocations: 0 / 3.549 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/6.17, allocations: 6.703 kB / 3.549 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004982/6.175, allocations: 2.671 MB / 3.552 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/6.175, allocations: 0 / 3.552 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/6.176, allocations: 222.5 kB / 3.552 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006289/6.176, allocations: 80.67 kB / 3.552 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/6.177, allocations: 30.12 kB / 3.552 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/6.179, allocations: 1.555 MB / 3.554 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/6.179, allocations: 4.469 kB / 3.554 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/6.181, allocations: 1.196 MB / 3.555 GB, free: 283.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009795/6.182, allocations: 370.9 kB / 3.555 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/6.183, allocations: 19.72 kB / 3.555 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009635/6.184, allocations: 103 kB / 3.555 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/6.184, allocations: 84.91 kB / 3.555 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/6.184, allocations: 44.83 kB / 3.555 GB, free: 283.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001404/6.185, allocations: 0.6235 MB / 3.556 GB, free: 283.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.61e-07/6.185, allocations: 0.9375 kB / 3.556 GB, free: 283.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002497/6.188, allocations: 0.6188 MB / 3.557 GB, free: 283.5 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) * 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.005998/6.194, allocations: 3.505 MB / 3.56 GB, free: 282.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002025/6.196, allocations: 1.001 MB / 3.561 GB, free: 282.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/6.196, allocations: 4.875 kB / 3.561 GB, free: 282.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/6.197, allocations: 0.6215 MB / 3.562 GB, free: 282.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/6.199, allocations: 461.8 kB / 3.562 GB, free: 282.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/6.205, allocations: 2.163 MB / 3.564 GB, free: 281.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/6.206, allocations: 1.211 MB / 3.565 GB, free: 281 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00155/6.207, allocations: 382.5 kB / 3.566 GB, free: 281 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/6.208, allocations: 0.5228 MB / 3.566 GB, free: 281 MB / 1.167 GB Notification: Performance of SimCode: time 2.334e-06/6.208, allocations: 0 / 3.566 GB, free: 281 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09952/6.308, allocations: 57.39 MB / 3.622 GB, free: 279.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/6.308, allocations: 229.9 kB / 3.623 GB, free: 279.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.039/10.35, allocations: 0 / 3.623 GB, free: 279.3 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