Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",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.475/2.475, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.001088/0.001088, allocations: 177.6 kB / 492.3 MB, free: 0.6445 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.789/1.789, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0009534/0.0009535, allocations: 87.97 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.605e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3862, allocations: 142.4 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.648/2.034, allocations: 401.4 MB / 1.604 GB, free: 12.62 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/2.035, allocations: 87.42 kB / 1.605 GB, free: 12.57 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 2.107/4.141, allocations: 0.5767 GB / 2.181 GB, free: 15.66 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.534e-06/4.142, allocations: 3.938 kB / 2.181 GB, free: 15.65 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001886/4.142, allocations: 31.92 kB / 2.181 GB, free: 15.62 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003876/4.146, allocations: 1.173 MB / 2.182 GB, free: 14.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/4.146, allocations: 8.031 kB / 2.182 GB, free: 14.39 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000319/4.146, allocations: 102.5 kB / 2.183 GB, free: 14.28 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/4.149, allocations: 494.2 kB / 2.183 GB, free: 13.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01622/4.165, allocations: 7.24 MB / 2.19 GB, free: 6.445 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.23e-05/4.165, allocations: 45.3 kB / 2.19 GB, free: 6.402 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/4.166, allocations: 60 kB / 2.19 GB, free: 6.344 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/4.167, allocations: 0.6909 MB / 2.191 GB, free: 5.605 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/4.167, allocations: 7.938 kB / 2.191 GB, free: 5.598 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.34e-05/4.167, allocations: 24 kB / 2.191 GB, free: 5.574 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/4.167, allocations: 29.25 kB / 2.191 GB, free: 5.547 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/4.168, allocations: 0.5244 MB / 2.191 GB, free: 5.02 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.006657/4.175, allocations: 4.605 MB / 2.196 GB, free: 20 kB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 1.158/5.333, allocations: 0.6258 MB / 2.197 GB, free: 276.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007194/5.334, allocations: 221.5 kB / 2.197 GB, free: 276.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/5.335, allocations: 0.9363 MB / 2.198 GB, free: 275.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/5.335, allocations: 34.89 kB / 2.198 GB, free: 275.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 6.122e-06/5.335, allocations: 0 / 2.198 GB, free: 275.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.001835/5.337, allocations: 480.8 kB / 2.198 GB, free: 275.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/5.337, allocations: 61.75 kB / 2.198 GB, free: 275.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/5.339, allocations: 0.6102 MB / 2.199 GB, free: 275.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/5.339, allocations: 31.2 kB / 2.199 GB, free: 275.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/5.339, allocations: 443 kB / 2.199 GB, free: 275.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/5.339, allocations: 118 kB / 2.199 GB, free: 275.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/5.34, allocations: 9.375 kB / 2.199 GB, free: 275.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000189/5.34, allocations: 332.3 kB / 2.2 GB, free: 274.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/5.34, allocations: 183.2 kB / 2.2 GB, free: 274.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007751/5.341, allocations: 376.8 kB / 2.2 GB, free: 274.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/5.342, allocations: 197 kB / 2.2 GB, free: 274.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/5.342, allocations: 4 kB / 2.2 GB, free: 274.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001631/5.343, allocations: 0.5934 MB / 2.201 GB, free: 274.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009813/5.344, allocations: 1.672 MB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/5.344, allocations: 4.438 kB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.645e-05/5.344, allocations: 7.766 kB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/5.345, allocations: 186.4 kB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-05/5.346, allocations: 10.16 kB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/5.347, allocations: 165.5 kB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/5.347, allocations: 27.84 kB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/5.347, allocations: 4.656 kB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001242/5.348, allocations: 0.4911 MB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/5.348, allocations: 4.344 kB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/5.348, allocations: 11.84 kB / 2.203 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/5.349, allocations: 186.5 kB / 2.204 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.202e-05/5.349, allocations: 16.05 kB / 2.204 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/5.35, allocations: 158 kB / 2.204 GB, free: 272.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/5.351, allocations: 32.92 kB / 2.204 GB, free: 272.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002151/5.351, allocations: 133.1 kB / 2.204 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/5.351, allocations: 77.09 kB / 2.204 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/5.353, allocations: 0.6775 MB / 2.205 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/5.353, allocations: 9.047 kB / 2.205 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/5.353, allocations: 0.5625 kB / 2.205 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/5.353, allocations: 10.03 kB / 2.205 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/5.356, allocations: 1.542 MB / 2.206 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.505e-06/5.357, allocations: 1.406 kB / 2.206 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009314/5.357, allocations: 150.5 kB / 2.206 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/5.357, allocations: 2.375 kB / 2.206 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/5.358, allocations: 16.44 kB / 2.206 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/5.358, allocations: 2.312 kB / 2.206 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/5.358, allocations: 1.5 kB / 2.206 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/5.36, allocations: 1.034 MB / 2.207 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/5.36, allocations: 232.7 kB / 2.208 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/5.36, allocations: 11.58 kB / 2.208 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/5.361, allocations: 126.1 kB / 2.208 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/5.361, allocations: 33.33 kB / 2.208 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/5.361, allocations: 13.94 kB / 2.208 GB, free: 271.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008998/5.362, allocations: 493.2 kB / 2.208 GB, free: 271.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.9e-07/5.362, allocations: 0 / 2.208 GB, free: 271.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002111/5.364, allocations: 456.2 kB / 2.209 GB, free: 271.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003536/5.368, allocations: 2.192 MB / 2.211 GB, free: 270.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002126/5.37, allocations: 0.8109 MB / 2.212 GB, free: 270.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/5.37, allocations: 0.8438 kB / 2.212 GB, free: 270.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005925/5.371, allocations: 276 kB / 2.212 GB, free: 270.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/5.372, allocations: 333.9 kB / 2.212 GB, free: 270.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007385/5.38, allocations: 1.798 MB / 2.214 GB, free: 270.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/5.381, allocations: 0.9853 MB / 2.215 GB, free: 269.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001537/5.382, allocations: 246 kB / 2.215 GB, free: 269.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/5.383, allocations: 320.5 kB / 2.216 GB, free: 269.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.142e-06/5.383, allocations: 0 / 2.216 GB, free: 269.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0783/5.461, allocations: 27.39 MB / 2.242 GB, free: 269.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/5.461, allocations: 210.5 kB / 2.242 GB, free: 269.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/8.664, allocations: 6.312 kB / 2.242 GB, free: 269.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_res.mat does not exist to compare? outputFormat=mat