Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.246/2.246, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001104/0.001104, allocations: 180.4 kB / 492.3 MB, free: 0.6406 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.476/1.476, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0009024/0.0009025, allocations: 87.95 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.241e-05, allocations: 6.375 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2737, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.658/5.932, allocations: 2.2 GB / 3.412 GB, free: 76.76 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/5.932, allocations: 98.69 kB / 3.412 GB, free: 76.71 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.345/9.277, allocations: 0.9429 GB / 4.355 GB, free: 24.02 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.978e-06/9.277, allocations: 0 / 4.355 GB, free: 24.02 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007031/9.277, allocations: 135.8 kB / 4.355 GB, free: 23.89 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.0129/9.29, allocations: 4.334 MB / 4.36 GB, free: 19.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/9.29, allocations: 12.03 kB / 4.36 GB, free: 19.48 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001857/9.292, allocations: 0.5227 MB / 4.36 GB, free: 18.95 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008181/9.3, allocations: 1.293 MB / 4.361 GB, free: 17.65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/9.315, allocations: 5.542 MB / 4.367 GB, free: 12.04 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/9.316, allocations: 283.5 kB / 4.367 GB, free: 11.77 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/9.317, allocations: 380 kB / 4.367 GB, free: 11.39 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/9.328, allocations: 5.082 MB / 4.372 GB, free: 6.152 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/9.328, allocations: 11.84 kB / 4.372 GB, free: 6.141 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004758/9.328, allocations: 164 kB / 4.372 GB, free: 5.98 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/9.328, allocations: 187.3 kB / 4.373 GB, free: 5.797 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007609/9.336, allocations: 4.679 MB / 4.377 GB, free: 1.113 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.7859/10.12, allocations: 19.46 MB / 4.396 GB, free: 214.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00635/10.13, allocations: 3.211 MB / 4.399 GB, free: 214.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/10.13, allocations: 1.676 MB / 4.401 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00239/10.13, allocations: 1.864 MB / 4.403 GB, free: 212.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004831/10.14, allocations: 1.852 MB / 4.405 GB, free: 212.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=265): time 9.939e-06/10.14, allocations: 0 / 4.405 GB, free: 212.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=265): time 0.01002/10.15, allocations: 3.153 MB / 4.408 GB, free: 212.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/10.15, allocations: 289.5 kB / 4.408 GB, free: 211.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/10.16, allocations: 3.516 MB / 4.411 GB, free: 211.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001092/10.16, allocations: 77.52 kB / 4.411 GB, free: 211.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003049/10.16, allocations: 1.995 MB / 4.413 GB, free: 211.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002003/10.17, allocations: 0.9071 MB / 4.414 GB, free: 210.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008345/10.17, allocations: 55.94 kB / 4.414 GB, free: 210.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003765/10.17, allocations: 423.9 kB / 4.415 GB, free: 210.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/10.17, allocations: 1.353 MB / 4.416 GB, free: 210.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/10.17, allocations: 2.044 MB / 4.418 GB, free: 209.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/10.18, allocations: 1.709 MB / 4.42 GB, free: 209.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/10.18, allocations: 3.031 kB / 4.42 GB, free: 209.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.009168/10.19, allocations: 3.991 MB / 4.424 GB, free: 209.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001883/10.19, allocations: 7.445 MB / 4.431 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/10.19, allocations: 17.19 kB / 4.431 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006614/10.19, allocations: 119.9 kB / 4.431 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004325/10.19, allocations: 0.8095 MB / 4.432 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/10.2, allocations: 1.566 MB / 4.433 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006071/10.2, allocations: 0.541 MB / 4.434 GB, free: 200 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/10.2, allocations: 147.6 kB / 4.434 GB, free: 200 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/10.2, allocations: 8.078 kB / 4.434 GB, free: 200 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006664/10.21, allocations: 3.641 MB / 4.438 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.63e-05/10.21, allocations: 15.84 kB / 4.438 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/10.21, allocations: 112.5 kB / 4.438 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0041/10.21, allocations: 0.8082 MB / 4.439 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/10.22, allocations: 1.575 MB / 4.44 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005474/10.22, allocations: 0.4927 MB / 4.441 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008369/10.22, allocations: 145.4 kB / 4.441 GB, free: 198.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.001166/10.22, allocations: 288.2 kB / 4.441 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001596/10.23, allocations: 392.1 kB / 4.441 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00898/10.23, allocations: 3.964 MB / 4.445 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-05/10.23, allocations: 35.45 kB / 4.445 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/10.23, allocations: 0 / 4.445 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005666/10.24, allocations: 3.089 MB / 4.448 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/10.26, allocations: 8.932 MB / 4.457 GB, free: 196.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/10.26, allocations: 3.938 kB / 4.457 GB, free: 196.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003406/10.26, allocations: 0.6407 MB / 4.458 GB, free: 196.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/10.26, allocations: 97.34 kB / 4.458 GB, free: 196.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004115/10.26, allocations: 93.2 kB / 4.458 GB, free: 196.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/10.27, allocations: 1.564 MB / 4.459 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/10.27, allocations: 7.344 kB / 4.459 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00951/10.27, allocations: 5.891 MB / 4.465 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00336/10.28, allocations: 1.096 MB / 4.466 GB, free: 194.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/10.28, allocations: 63.38 kB / 4.466 GB, free: 194.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004385/10.28, allocations: 322.2 kB / 4.467 GB, free: 194.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004608/10.28, allocations: 184.7 kB / 4.467 GB, free: 194.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003818/10.28, allocations: 140.4 kB / 4.467 GB, free: 194.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004544/10.29, allocations: 2.759 MB / 4.47 GB, free: 193.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/10.29, allocations: 0 / 4.47 GB, free: 193.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.009417/10.3, allocations: 2.488 MB / 4.472 GB, free: 193.7 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.01208/10.31, allocations: 8.889 MB / 4.481 GB, free: 191.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008863/10.32, allocations: 5.629 MB / 4.486 GB, free: 190.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/10.32, allocations: 0.7812 kB / 4.486 GB, free: 190.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/10.32, allocations: 1.759 MB / 4.488 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.01026/10.33, allocations: 2.029 MB / 4.49 GB, free: 190.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/10.36, allocations: 9.313 MB / 4.499 GB, free: 188.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00259/10.36, allocations: 3.155 MB / 4.502 GB, free: 188.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01127/10.37, allocations: 3.07 MB / 4.505 GB, free: 188.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003686/10.37, allocations: 1.853 MB / 4.507 GB, free: 188.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.343e-06/10.37, allocations: 3.438 kB / 4.507 GB, free: 188.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2075/10.58, allocations: 139.8 MB / 4.643 GB, free: 144.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/10.58, allocations: 236.9 kB / 4.644 GB, free: 144.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.035/16.62, allocations: 2.812 kB / 4.644 GB, free: 144.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat does not exist to compare? outputFormat=mat