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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004256, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7063, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1689/0.8753, allocations: 147.2 MB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.8922, allocations: 10.75 MB / 1.108 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.8936, allocations: 27.81 kB / 1.108 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009808/0.8946, allocations: 278.3 kB / 1.108 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.8973, allocations: 0.8247 MB / 1.109 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/0.9011, allocations: 1.228 MB / 1.11 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002995/0.9041, allocations: 1.427 MB / 1.111 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.9062, allocations: 1.2 MB / 1.113 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.909, allocations: 1.114 MB / 1.114 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.9099, allocations: 0.5675 MB / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.91, allocations: 44 kB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.9118, allocations: 0.7372 MB / 1.115 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003337/0.9122, allocations: 322.8 kB / 1.115 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.9125, allocations: 304.9 kB / 1.116 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.9148, allocations: 1.847 MB / 1.117 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.9148, allocations: 0 / 1.117 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9148, allocations: 4 kB / 1.117 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.948e-05/0.9149, allocations: 0 / 1.117 GB, free: 7.926 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003278/0.9181, allocations: 1.671 MB / 1.119 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.9182, allocations: 8.031 kB / 1.119 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003253/0.9185, allocations: 202.7 kB / 1.119 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/0.9225, allocations: 425.5 kB / 1.12 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.9246, allocations: 0.9611 MB / 1.121 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/0.9247, allocations: 102.7 kB / 1.121 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.9249, allocations: 132 kB / 1.121 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.9275, allocations: 1.505 MB / 1.122 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.9275, allocations: 0 / 1.122 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.9277, allocations: 60 kB / 1.122 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.9277, allocations: 32 kB / 1.122 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.9304, allocations: 1.579 MB / 1.124 GB, free: 1.07 MB / 0.8731 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.007736/0.9382, allocations: 5.091 MB / 1.129 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.9409, allocations: 1.399 MB / 1.13 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005875/0.9416, allocations: 263.1 kB / 1.131 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.9428, allocations: 0.6995 MB / 1.131 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=107): time 2.715e-06/0.9428, allocations: 0 / 1.131 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of matching and sorting (n=107): time 0.0043/0.9471, allocations: 1.665 MB / 1.133 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.9472, allocations: 200.9 kB / 1.133 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.9486, allocations: 0.8804 MB / 1.134 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.9487, allocations: 49.7 kB / 1.134 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000539/0.9493, allocations: 0.5896 MB / 1.135 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.9496, allocations: 350.9 kB / 1.135 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.9497, allocations: 24 kB / 1.135 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9498, allocations: 345.9 kB / 1.135 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007677/0.9506, allocations: 369.8 kB / 1.136 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008989/0.9515, allocations: 0.5593 MB / 1.136 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/0.9524, allocations: 454.8 kB / 1.137 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.9524, allocations: 0 / 1.137 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002536/0.9549, allocations: 1.176 MB / 1.138 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.955, allocations: 10.03 kB / 1.138 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.955, allocations: 4 kB / 1.138 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/0.9556, allocations: 88.8 kB / 1.138 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.9568, allocations: 247.6 kB / 1.138 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.9588, allocations: 1.551 MB / 1.14 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.9599, allocations: 155.8 kB / 1.14 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.9601, allocations: 47.97 kB / 1.14 GB, free: 220 kB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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.0007138/0.9608, allocations: 341.5 kB / 1.14 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.961, allocations: 126.5 kB / 1.14 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.9641, allocations: 1.448 MB / 1.142 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.9641, allocations: 15.94 kB / 1.142 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.9642, allocations: 3.984 kB / 1.142 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.9642, allocations: 3.984 kB / 1.142 GB, free: 14.26 MB / 0.9044 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 postOpt removeSimpleEquations (simulation): time 0.005014/0.9692, allocations: 2.911 MB / 1.144 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.9692, allocations: 8.125 kB / 1.144 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.9702, allocations: 219.7 kB / 1.145 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/0.9708, allocations: 88.77 kB / 1.145 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.61e-05/0.9709, allocations: 27.98 kB / 1.145 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.9727, allocations: 1.575 MB / 1.146 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9727, allocations: 4.031 kB / 1.146 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.9754, allocations: 1.395 MB / 1.148 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/0.9761, allocations: 367.1 kB / 1.148 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.9763, allocations: 24 kB / 1.148 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.9773, allocations: 123.8 kB / 1.148 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.9775, allocations: 97.14 kB / 1.148 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.9776, allocations: 47.97 kB / 1.148 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008424/0.9785, allocations: 0.615 MB / 1.149 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9785, allocations: 0 / 1.149 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001255/0.9797, allocations: 474.9 kB / 1.149 GB, free: 5.992 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00438/0.9841, allocations: 2.838 MB / 1.152 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002232/0.9864, allocations: 1.109 MB / 1.153 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9864, allocations: 7.75 kB / 1.153 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.9876, allocations: 0.6839 MB / 1.154 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.9898, allocations: 461.4 kB / 1.154 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.004, allocations: 9.486 MB / 1.164 GB, free: 7.207 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/1.005, allocations: 1.24 MB / 1.165 GB, free: 5.934 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001517/1.007, allocations: 397.6 kB / 1.165 GB, free: 5.543 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007785/1.008, allocations: 0.5617 MB / 1.166 GB, free: 4.98 MB / 0.92 GB Notification: Performance of SimCode: time 4.51e-07/1.008, allocations: 0 / 1.166 GB, free: 4.98 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0619/1.07, allocations: 33.13 MB / 1.198 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/1.07, allocations: 260.8 kB / 1.198 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.726, allocations: 0 / 1.198 GB, free: 3.973 MB / 0.9512 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