Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.313/2.313, allocations: 390.5 MB / 398 MB, free: 10.94 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.001039/0.001039, allocations: 187.9 kB / 491.2 MB, free: 1.559 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.574/1.574, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001044/0.001044, allocations: 87.94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.947e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2847, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.567/5.851, allocations: 2.199 GB / 3.412 GB, free: 76 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/5.852, allocations: 86.55 kB / 3.412 GB, free: 75.96 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.27/9.122, allocations: 0.9378 GB / 4.35 GB, free: 28.05 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.763e-06/9.122, allocations: 0 / 4.35 GB, free: 28.05 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007317/9.122, allocations: 127.9 kB / 4.35 GB, free: 27.93 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: 985 * Number of variables: 985 Notification: Performance of Generate backend data structure: time 0.01337/9.136, allocations: 4.344 MB / 4.354 GB, free: 23.52 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/9.136, allocations: 8.031 kB / 4.354 GB, free: 23.51 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008816/9.145, allocations: 1.285 MB / 4.355 GB, free: 22.22 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/9.159, allocations: 5.542 MB / 4.361 GB, free: 16.61 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/9.159, allocations: 127.9 kB / 4.361 GB, free: 16.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/9.161, allocations: 223.9 kB / 4.361 GB, free: 16.27 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008646/9.169, allocations: 4.396 MB / 4.365 GB, free: 11.87 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007976/9.177, allocations: 4.555 MB / 4.37 GB, free: 7.156 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-05/9.177, allocations: 11.94 kB / 4.37 GB, free: 7.145 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004632/9.178, allocations: 4 kB / 4.37 GB, free: 7.141 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/9.178, allocations: 179.3 kB / 4.37 GB, free: 6.965 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.7943/9.972, allocations: 18.72 MB / 4.388 GB, free: 217.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005192/9.978, allocations: 3.068 MB / 4.391 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/9.98, allocations: 1.6 MB / 4.393 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001898/9.982, allocations: 1.858 MB / 4.394 GB, free: 215.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003141/9.985, allocations: 1.771 MB / 4.396 GB, free: 215.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=265): time 5.17e-06/9.985, allocations: 3.719 kB / 4.396 GB, free: 215.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=265): time 0.06202/10.05, allocations: 7.413 MB / 4.403 GB, free: 215 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/10.05, allocations: 288.8 kB / 4.404 GB, free: 214.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00622/10.05, allocations: 3.016 MB / 4.407 GB, free: 214.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0008378/10.05, allocations: 28.89 kB / 4.407 GB, free: 214.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002174/10.06, allocations: 2.02 MB / 4.409 GB, free: 213.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001413/10.06, allocations: 0.864 MB / 4.409 GB, free: 213.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/10.06, allocations: 2.156 kB / 4.409 GB, free: 213.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001961/10.06, allocations: 425.2 kB / 4.41 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/10.06, allocations: 1.297 MB / 4.411 GB, free: 213.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002741/10.06, allocations: 1.965 MB / 4.413 GB, free: 212.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1541/10.22, allocations: 13.25 MB / 4.426 GB, free: 212.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.515e-05/10.22, allocations: 3.688 kB / 4.426 GB, free: 212.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.1545/10.37, allocations: 15.32 MB / 4.441 GB, free: 212 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001707/10.37, allocations: 7.31 MB / 4.448 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/10.37, allocations: 19.53 kB / 4.448 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/10.37, allocations: 116.4 kB / 4.448 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004146/10.38, allocations: 0.8123 MB / 4.449 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/10.38, allocations: 1.502 MB / 4.451 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005386/10.39, allocations: 461.9 kB / 4.451 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008005/10.39, allocations: 147.2 kB / 4.451 GB, free: 202.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/10.39, allocations: 3.312 kB / 4.451 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1501/10.54, allocations: 14.94 MB / 4.466 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/10.54, allocations: 15.28 kB / 4.466 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/10.54, allocations: 119.6 kB / 4.466 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/10.54, allocations: 0.8077 MB / 4.467 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/10.54, allocations: 1.505 MB / 4.468 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/10.55, allocations: 400.5 kB / 4.468 GB, free: 200.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004948/10.55, allocations: 142.4 kB / 4.469 GB, free: 200.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (372): * Single equations (assignments): 371 * 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.000883/10.55, allocations: 187.4 kB / 4.469 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05957/10.61, allocations: 7.417 MB / 4.476 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/10.61, allocations: 361.9 kB / 4.476 GB, free: 199.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05929/10.67, allocations: 8.148 MB / 4.484 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/10.67, allocations: 25.41 kB / 4.484 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/10.67, allocations: 3.953 kB / 4.484 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05661/10.73, allocations: 7.344 MB / 4.492 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06685/10.79, allocations: 12.68 MB / 4.504 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/10.79, allocations: 3.875 kB / 4.504 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/10.8, allocations: 0.6417 MB / 4.505 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/10.8, allocations: 95.48 kB / 4.505 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002698/10.8, allocations: 63.5 kB / 4.505 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/10.8, allocations: 1.506 MB / 4.506 GB, free: 196.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/10.8, allocations: 3.875 kB / 4.506 GB, free: 196.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05983/10.86, allocations: 10.04 MB / 4.516 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002767/10.86, allocations: 1.062 MB / 4.517 GB, free: 194.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009009/10.86, allocations: 20.02 kB / 4.517 GB, free: 194.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003559/10.87, allocations: 269.6 kB / 4.517 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/10.87, allocations: 185.1 kB / 4.517 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002896/10.87, allocations: 131.2 kB / 4.518 GB, free: 194.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003207/10.87, allocations: 2.327 MB / 4.52 GB, free: 194.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.332e-06/10.87, allocations: 0 / 4.52 GB, free: 194.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007629/10.88, allocations: 2.383 MB / 4.522 GB, free: 194.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.06399/10.94, allocations: 13.07 MB / 4.535 GB, free: 191.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00783/10.95, allocations: 5.357 MB / 4.54 GB, free: 190.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/10.95, allocations: 4.719 kB / 4.54 GB, free: 190.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/10.95, allocations: 1.687 MB / 4.542 GB, free: 190.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008688/10.96, allocations: 1.737 MB / 4.544 GB, free: 190.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/10.98, allocations: 8.99 MB / 4.552 GB, free: 188.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/10.98, allocations: 3.152 MB / 4.555 GB, free: 187.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009038/10.99, allocations: 2.897 MB / 4.558 GB, free: 187.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002585/10.99, allocations: 1.837 MB / 4.56 GB, free: 187.4 MB / 1.151 GB Notification: Performance of SimCode: time 6.71e-07/10.99, allocations: 11.75 kB / 4.56 GB, free: 187.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1719/11.16, allocations: 116.9 MB / 4.674 GB, free: 110.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/11.16, allocations: 187.6 kB / 4.674 GB, free: 110.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.477/16.64, allocations: 3.5 kB / 4.674 GB, free: 110.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat does not exist to compare? outputFormat=mat