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.448/2.448, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001948/0.001948, allocations: 183 kB / 498.1 MB, free: 5.734 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.677/1.677, allocations: 223.1 MB / 0.7948 GB, free: 17.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.0009416/0.0009412, allocations: 104.2 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004734, allocations: 6.969 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3049, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.509, allocations: 484.7 MB / 1.696 GB, free: 8.844 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/1.51, allocations: 92.42 kB / 1.696 GB, free: 8.797 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 23.51/25.01, allocations: 5.511 GB / 7.207 GB, free: 9.949 MB / 1.432 GB Notification: Performance of FrontEnd: time 4.769e-06/25.02, allocations: 3.938 kB / 7.207 GB, free: 9.945 MB / 1.432 GB Notification: Performance of Transformations before backend: time 0.004242/25.02, allocations: 335.6 kB / 7.207 GB, free: 9.617 MB / 1.432 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 2.776/27.79, allocations: 13.78 MB / 7.221 GB, free: 69.94 MB / 1.432 GB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/27.79, allocations: 10.89 kB / 7.221 GB, free: 69.94 MB / 1.432 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007717/27.8, allocations: 0.9283 MB / 7.222 GB, free: 69.86 MB / 1.432 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02403/27.83, allocations: 2.84 MB / 7.224 GB, free: 69.14 MB / 1.432 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07165/27.9, allocations: 20.26 MB / 7.244 GB, free: 67.76 MB / 1.432 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001052/27.9, allocations: 0.5576 MB / 7.245 GB, free: 67.75 MB / 1.432 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003984/27.9, allocations: 0.7359 MB / 7.245 GB, free: 67.74 MB / 1.432 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03101/27.93, allocations: 8.703 MB / 7.254 GB, free: 66.54 MB / 1.432 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005183/27.94, allocations: 24.81 kB / 7.254 GB, free: 66.53 MB / 1.432 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002601/27.94, allocations: 304.1 kB / 7.254 GB, free: 66.53 MB / 1.432 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003204/27.94, allocations: 279.9 kB / 7.255 GB, free: 66.52 MB / 1.432 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/27.96, allocations: 6.562 MB / 7.261 GB, free: 66.45 MB / 1.432 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.09488/28.05, allocations: 46.36 MB / 7.306 GB, free: 40.98 MB / 1.432 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/28.07, allocations: 4.205 MB / 7.31 GB, free: 40.9 MB / 1.432 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03113/28.1, allocations: 9.629 MB / 7.32 GB, free: 37.22 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007319/28.1, allocations: 2.28 MB / 7.322 GB, free: 37.11 MB / 1.432 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009471/28.11, allocations: 0.6259 MB / 7.323 GB, free: 36.93 MB / 1.432 GB Notification: Performance of pre-optimization done (n=341): time 3.67e-05/28.11, allocations: 0 / 7.323 GB, free: 36.93 MB / 1.432 GB Notification: Performance of matching and sorting (n=341): time 0.02705/28.14, allocations: 7.395 MB / 7.33 GB, free: 35.2 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/28.14, allocations: 91.14 kB / 7.33 GB, free: 35.13 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02983/28.17, allocations: 8.414 MB / 7.338 GB, free: 34.54 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.001567/28.17, allocations: 119.5 kB / 7.338 GB, free: 34.5 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.009799/28.18, allocations: 5.584 MB / 7.344 GB, free: 32.95 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.002531/28.19, allocations: 1.171 MB / 7.345 GB, free: 32.21 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/28.19, allocations: 94.88 kB / 7.345 GB, free: 32.21 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.0005658/28.19, allocations: 497.4 kB / 7.345 GB, free: 31.9 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005714/28.19, allocations: 1.785 MB / 7.347 GB, free: 31.88 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007532/28.2, allocations: 3.919 MB / 7.351 GB, free: 29.27 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006971/28.21, allocations: 2.363 MB / 7.353 GB, free: 29.21 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/28.21, allocations: 19.25 kB / 7.353 GB, free: 29.21 MB / 1.432 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.02142/28.23, allocations: 6.614 MB / 7.36 GB, free: 28.5 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 0.01627/28.25, allocations: 31.54 MB / 7.391 GB, free: 27.33 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002857/28.25, allocations: 55.38 kB / 7.391 GB, free: 27.33 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002224/28.25, allocations: 0.5258 MB / 7.391 GB, free: 27.25 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006336/28.25, allocations: 1.156 MB / 7.392 GB, free: 27.25 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009543/28.26, allocations: 8.366 MB / 7.4 GB, free: 36.44 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01438/28.28, allocations: 0.7502 MB / 7.401 GB, free: 36.38 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001848/28.28, allocations: 275.4 kB / 7.401 GB, free: 36.38 MB / 1.479 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/28.28, allocations: 6.641 kB / 7.401 GB, free: 36.38 MB / 1.479 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01723/28.3, allocations: 5.554 MB / 7.407 GB, free: 36.2 MB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000268/28.3, allocations: 54.5 kB / 7.407 GB, free: 36.2 MB / 1.479 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001722/28.3, allocations: 0.5269 MB / 7.407 GB, free: 36.12 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005365/28.3, allocations: 1.123 MB / 7.409 GB, free: 36.12 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007078/28.31, allocations: 8.362 MB / 7.417 GB, free: 29.3 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01306/28.33, allocations: 0.7298 MB / 7.417 GB, free: 29.25 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/28.33, allocations: 254.1 kB / 7.418 GB, free: 29.25 MB / 1.479 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (582): * Single equations (assignments): 568 * 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.01115/28.34, allocations: 2.592 MB / 7.42 GB, free: 29.02 MB / 1.479 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005184/28.34, allocations: 0.9897 MB / 7.421 GB, free: 28.49 MB / 1.479 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02217/28.37, allocations: 5.617 MB / 7.427 GB, free: 28.13 MB / 1.479 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-05/28.37, allocations: 47.22 kB / 7.427 GB, free: 28.13 MB / 1.479 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.072e-05/28.37, allocations: 4.344 kB / 7.427 GB, free: 28.13 MB / 1.479 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01094/28.38, allocations: 4.02 MB / 7.431 GB, free: 27.89 MB / 1.479 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.05158/28.43, allocations: 12.98 MB / 7.443 GB, free: 27.13 MB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/28.43, allocations: 3.953 kB / 7.443 GB, free: 27.12 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004356/28.43, allocations: 0.7471 MB / 7.444 GB, free: 27.12 MB / 1.479 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/28.43, allocations: 462.5 kB / 7.444 GB, free: 27.05 MB / 1.479 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008528/28.44, allocations: 112.3 kB / 7.445 GB, free: 27.05 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006392/28.44, allocations: 8.265 MB / 7.453 GB, free: 20.23 MB / 1.479 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/28.44, allocations: 0 / 7.453 GB, free: 20.23 MB / 1.479 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02075/28.46, allocations: 7.759 MB / 7.46 GB, free: 19.12 MB / 1.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01039/28.47, allocations: 1.751 MB / 7.462 GB, free: 18.49 MB / 1.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006141/28.48, allocations: 74.02 kB / 7.462 GB, free: 18.49 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01516/28.49, allocations: 0.6793 MB / 7.463 GB, free: 18.45 MB / 1.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00133/28.5, allocations: 224.2 kB / 7.463 GB, free: 18.45 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001681/28.5, allocations: 202.3 kB / 7.463 GB, free: 18.45 MB / 1.479 GB Notification: Performance of sorting global known variables: time 0.02216/28.52, allocations: 6.464 MB / 7.469 GB, free: 18.16 MB / 1.479 GB Notification: Performance of sort global known variables: time 6.51e-07/28.52, allocations: 0 / 7.469 GB, free: 18.16 MB / 1.479 GB Notification: Performance of remove unused functions: time 0.03301/28.55, allocations: 5.835 MB / 7.475 GB, free: 17.47 MB / 1.479 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 313 * 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.03535/28.59, allocations: 15.08 MB / 7.49 GB, free: 29.08 MB / 1.495 GB Notification: Performance of simCode: created initialization part: time 0.02047/28.61, allocations: 8.086 MB / 7.498 GB, free: 28.52 MB / 1.495 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/28.61, allocations: 6.594 kB / 7.498 GB, free: 28.52 MB / 1.495 GB Notification: Performance of simCode: created simulation system equations: time 0.005327/28.61, allocations: 2.451 MB / 7.5 GB, free: 28.26 MB / 1.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02744/28.64, allocations: 4.808 MB / 7.505 GB, free: 28.22 MB / 1.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.095/28.74, allocations: 77.61 MB / 7.581 GB, free: 10.71 MB / 1.542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01119/28.75, allocations: 5.679 MB / 7.586 GB, free: 9.664 MB / 1.542 GB Notification: Performance of simCode: alias equations: time 0.01766/28.77, allocations: 2.624 MB / 7.589 GB, free: 9.309 MB / 1.542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01207/28.78, allocations: 5.126 MB / 7.594 GB, free: 9.301 MB / 1.542 GB Notification: Performance of SimCode: time 2.044e-06/28.78, allocations: 4 kB / 7.594 GB, free: 9.297 MB / 1.542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.05/30.83, allocations: 311.2 MB / 7.898 GB, free: 191.6 MB / 1.557 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/30.83, allocations: 275.1 kB / 7.898 GB, free: 191.2 MB / 1.557 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/47.45, allocations: 0 / 7.898 GB, free: 191.2 MB / 1.557 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