Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Validation.IdealSmallSystem,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",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.339/2.339, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.00107/0.00107, allocations: 180.9 kB / 492.3 MB, free: 0.6328 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.714/1.714, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009977/0.0009974, allocations: 91.88 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.218e-05/4.22e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4023, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.666/2.069, allocations: 484.6 MB / 1.686 GB, free: 11.19 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004526/2.069, allocations: 88.39 kB / 1.686 GB, free: 11.14 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 30.17/32.24, allocations: 5.494 GB / 7.18 GB, free: 67.9 MB / 1.417 GB Notification: Performance of FrontEnd: time 3.357e-06/32.24, allocations: 1.656 kB / 7.18 GB, free: 67.9 MB / 1.417 GB Notification: Performance of Transformations before backend: time 0.004701/32.25, allocations: 331.3 kB / 7.18 GB, free: 67.84 MB / 1.417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.062/32.31, allocations: 10.7 MB / 7.191 GB, free: 63.15 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 7.951e-05/32.31, allocations: 7.406 kB / 7.191 GB, free: 63.15 MB / 1.417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008195/32.32, allocations: 0.9185 MB / 7.192 GB, free: 63.07 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02592/32.34, allocations: 2.846 MB / 7.194 GB, free: 62.35 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09132/32.43, allocations: 20.14 MB / 7.214 GB, free: 60.29 MB / 1.417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001778/32.43, allocations: 0.5565 MB / 7.215 GB, free: 60.28 MB / 1.417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00592/32.44, allocations: 0.7305 MB / 7.215 GB, free: 60.27 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04586/32.49, allocations: 8.362 MB / 7.224 GB, free: 59.06 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006103/32.49, allocations: 26.39 kB / 7.224 GB, free: 59.06 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00457/32.49, allocations: 300.7 kB / 7.224 GB, free: 59.06 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005102/32.49, allocations: 280.3 kB / 7.224 GB, free: 59.05 MB / 1.417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02589/32.52, allocations: 5.979 MB / 7.23 GB, free: 58.98 MB / 1.417 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.1207/32.64, allocations: 46.38 MB / 7.275 GB, free: 33.23 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009157/32.65, allocations: 3.696 MB / 7.279 GB, free: 33.15 MB / 1.417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004847/32.65, allocations: 2.087 MB / 7.281 GB, free: 33.12 MB / 1.417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.038/32.69, allocations: 9.762 MB / 7.29 GB, free: 29.3 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007183/32.7, allocations: 2.019 MB / 7.292 GB, free: 29.18 MB / 1.417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01412/32.71, allocations: 0.6253 MB / 7.293 GB, free: 29 MB / 1.417 GB Notification: Performance of pre-optimization done (n=339): time 6.845e-05/32.71, allocations: 0 / 7.293 GB, free: 29 MB / 1.417 GB Notification: Performance of matching and sorting (n=339): time 0.0241/32.74, allocations: 4.235 MB / 7.297 GB, free: 28.25 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/32.74, allocations: 86.83 kB / 7.297 GB, free: 28.19 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03998/32.78, allocations: 8.312 MB / 7.305 GB, free: 27.55 MB / 1.417 GB Notification: Performance of collectPreVariables (initialization): time 0.002385/32.78, allocations: 115.2 kB / 7.305 GB, free: 27.52 MB / 1.417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01534/32.8, allocations: 5.593 MB / 7.311 GB, free: 25.96 MB / 1.417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003809/32.8, allocations: 1.173 MB / 7.312 GB, free: 25.22 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007349/32.8, allocations: 97.17 kB / 7.312 GB, free: 25.22 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.000508/32.8, allocations: 493.5 kB / 7.313 GB, free: 24.91 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003488/32.8, allocations: 1.523 MB / 7.314 GB, free: 24.89 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005067/32.81, allocations: 3.649 MB / 7.318 GB, free: 22.29 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004644/32.81, allocations: 2.123 MB / 7.32 GB, free: 22.22 MB / 1.417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.627e-05/32.81, allocations: 13.56 kB / 7.32 GB, free: 22.22 MB / 1.417 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02029/32.83, allocations: 6.075 MB / 7.326 GB, free: 21.5 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 0.01948/32.85, allocations: 31.43 MB / 7.356 GB, free: 20.38 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004412/32.85, allocations: 52.34 kB / 7.356 GB, free: 20.38 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/32.86, allocations: 0.5346 MB / 7.357 GB, free: 20.29 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007076/32.86, allocations: 1.153 MB / 7.358 GB, free: 20.28 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009126/32.87, allocations: 8.297 MB / 7.366 GB, free: 13.45 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01695/32.89, allocations: 0.7508 MB / 7.367 GB, free: 13.34 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002289/32.89, allocations: 273.5 kB / 7.367 GB, free: 13.34 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/32.89, allocations: 5.109 kB / 7.367 GB, free: 13.34 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0148/32.91, allocations: 5.069 MB / 7.372 GB, free: 13.12 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002264/32.91, allocations: 49.97 kB / 7.372 GB, free: 13.12 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/32.91, allocations: 0.5299 MB / 7.373 GB, free: 13.04 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006175/32.92, allocations: 1.12 MB / 7.374 GB, free: 13.03 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009907/32.93, allocations: 8.303 MB / 7.382 GB, free: 22.18 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01588/32.94, allocations: 0.7261 MB / 7.383 GB, free: 22.09 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/32.94, allocations: 255.9 kB / 7.383 GB, free: 22.09 MB / 1.464 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002969/32.95, allocations: 447.3 kB / 7.383 GB, free: 21.87 MB / 1.464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005295/32.95, allocations: 0.9889 MB / 7.384 GB, free: 21.34 MB / 1.464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/32.97, allocations: 5.119 MB / 7.389 GB, free: 20.91 MB / 1.464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.033e-05/32.97, allocations: 37.22 kB / 7.389 GB, free: 20.91 MB / 1.464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/32.97, allocations: 3.094 kB / 7.389 GB, free: 20.91 MB / 1.464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007129/32.97, allocations: 3.528 MB / 7.393 GB, free: 20.64 MB / 1.464 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 postOpt removeSimpleEquations (simulation): time 0.05354/33.03, allocations: 12.46 MB / 7.405 GB, free: 19.85 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/33.03, allocations: 3.406 kB / 7.405 GB, free: 19.85 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003808/33.03, allocations: 0.7412 MB / 7.406 GB, free: 19.8 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/33.03, allocations: 469 kB / 7.406 GB, free: 19.71 MB / 1.464 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001142/33.04, allocations: 109.6 kB / 7.406 GB, free: 19.71 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009453/33.05, allocations: 8.209 MB / 7.414 GB, free: 12.86 MB / 1.464 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/33.05, allocations: 0 / 7.414 GB, free: 12.86 MB / 1.464 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02159/33.07, allocations: 6.979 MB / 7.421 GB, free: 11.73 MB / 1.464 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01216/33.08, allocations: 1.752 MB / 7.423 GB, free: 11.09 MB / 1.464 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006054/33.09, allocations: 71.91 kB / 7.423 GB, free: 11.09 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01385/33.1, allocations: 0.6812 MB / 7.423 GB, free: 11 MB / 1.464 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/33.1, allocations: 219.8 kB / 7.424 GB, free: 11 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001166/33.1, allocations: 204.1 kB / 7.424 GB, free: 11 MB / 1.464 GB Notification: Performance of sorting global known variables: time 0.02439/33.13, allocations: 6.363 MB / 7.43 GB, free: 10.66 MB / 1.464 GB Notification: Performance of sort global known variables: time 7.52e-07/33.13, allocations: 0 / 7.43 GB, free: 10.66 MB / 1.464 GB Notification: Performance of remove unused functions: time 0.03963/33.17, allocations: 5.844 MB / 7.436 GB, free: 9.793 MB / 1.464 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.03382/33.2, allocations: 14.25 MB / 7.45 GB, free: 4.695 MB / 1.464 GB Notification: Performance of simCode: created initialization part: time 0.01948/33.22, allocations: 7.685 MB / 7.457 GB, free: 3.703 MB / 1.464 GB Notification: Performance of simCode: created event and clocks part: time 1.842e-05/33.22, allocations: 3.625 kB / 7.457 GB, free: 3.703 MB / 1.464 GB Notification: Performance of simCode: created simulation system equations: time 0.00601/33.23, allocations: 2.192 MB / 7.459 GB, free: 3.379 MB / 1.464 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03216/33.26, allocations: 4.815 MB / 7.464 GB, free: 3.125 MB / 1.464 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0725/33.33, allocations: 17.43 MB / 7.481 GB, free: 14.59 MB / 1.479 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01544/33.35, allocations: 5.7 MB / 7.487 GB, free: 13.52 MB / 1.479 GB Notification: Performance of simCode: alias equations: time 0.02911/33.37, allocations: 3.855 MB / 7.49 GB, free: 13.02 MB / 1.479 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01149/33.39, allocations: 4.92 MB / 7.495 GB, free: 13 MB / 1.479 GB Notification: Performance of SimCode: time 2.224e-06/33.39, allocations: 3.281 kB / 7.495 GB, free: 13 MB / 1.479 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.404/35.79, allocations: 328.3 MB / 7.816 GB, free: 131.5 MB / 1.495 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/35.79, allocations: 257.5 kB / 7.816 GB, free: 131.2 MB / 1.495 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.2/56.99, allocations: 0 / 7.816 GB, free: 131.2 MB / 1.495 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem_res.mat does not exist to compare? outputFormat=mat