Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.598/2.598, allocations: 284.9 MB / 292.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 184.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.3 MB / 0.6191 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 96.89 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.065e-05, allocations: 0 / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8792/0.8792, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.417/2.296, allocations: 485.8 MB / 1.438 GB, free: 79.75 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/2.297, allocations: 89.55 kB / 1.438 GB, free: 79.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 31.06/33.36, allocations: 5.363 GB / 6.801 GB, free: 29.79 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.615e-06/33.36, allocations: 0 / 6.801 GB, free: 29.79 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.002628/33.36, allocations: 315.7 kB / 6.802 GB, free: 29.48 MB / 1.182 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.03874/33.4, allocations: 10.65 MB / 6.812 GB, free: 18.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/33.4, allocations: 8.031 kB / 6.812 GB, free: 18.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02093/33.42, allocations: 2.492 MB / 6.814 GB, free: 16.19 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08131/33.5, allocations: 19.07 MB / 6.833 GB, free: 13.13 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007609/33.5, allocations: 244 kB / 6.833 GB, free: 12.89 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00343/33.51, allocations: 444 kB / 6.834 GB, free: 12.46 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0243/33.53, allocations: 5.561 MB / 6.839 GB, free: 6.891 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/33.56, allocations: 7.254 MB / 6.846 GB, free: 15.24 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004242/33.56, allocations: 23.72 kB / 6.846 GB, free: 15.22 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002673/33.57, allocations: 20 kB / 6.846 GB, free: 15.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003279/33.57, allocations: 199.9 kB / 6.847 GB, free: 15 MB / 1.214 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 1.344/34.91, allocations: 44.89 MB / 6.89 GB, free: 50.75 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/34.92, allocations: 3.626 MB / 6.894 GB, free: 50.7 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005702/34.93, allocations: 2.009 MB / 6.896 GB, free: 50.68 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03305/34.96, allocations: 9.509 MB / 6.905 GB, free: 47.05 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005869/34.97, allocations: 1.88 MB / 6.907 GB, free: 46.95 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009397/34.98, allocations: 0.5382 MB / 6.907 GB, free: 46.95 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 4.267e-05/34.98, allocations: 0 / 6.907 GB, free: 46.95 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.0188/34.99, allocations: 4.376 MB / 6.912 GB, free: 46.23 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/34.99, allocations: 88.05 kB / 6.912 GB, free: 46.16 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02438/35.02, allocations: 7.613 MB / 6.919 GB, free: 45.61 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001397/35.02, allocations: 40.91 kB / 6.919 GB, free: 45.58 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01022/35.03, allocations: 5.518 MB / 6.925 GB, free: 44.46 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002571/35.03, allocations: 1.129 MB / 6.926 GB, free: 43.88 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007134/35.03, allocations: 0 / 6.926 GB, free: 43.88 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004528/35.03, allocations: 494.5 kB / 6.926 GB, free: 43.57 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004897/35.04, allocations: 1.463 MB / 6.928 GB, free: 43.55 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006946/35.05, allocations: 3.55 MB / 6.931 GB, free: 40.95 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/35.06, allocations: 2.351 MB / 6.933 GB, free: 40.89 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001435/35.06, allocations: 14.62 kB / 6.933 GB, free: 40.89 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.0258/35.08, allocations: 5.906 MB / 6.939 GB, free: 40.18 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0133/35.1, allocations: 31.14 MB / 6.97 GB, free: 39.09 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003289/35.1, allocations: 58.38 kB / 6.97 GB, free: 39.09 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/35.1, allocations: 495.5 kB / 6.97 GB, free: 39.01 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009806/35.11, allocations: 1.118 MB / 6.971 GB, free: 39.01 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/35.12, allocations: 8.217 MB / 6.979 GB, free: 32.32 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01548/35.14, allocations: 0.6072 MB / 6.98 GB, free: 32.29 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/35.14, allocations: 272.6 kB / 6.98 GB, free: 32.29 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/35.14, allocations: 3.188 kB / 6.98 GB, free: 32.29 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02093/35.16, allocations: 4.699 MB / 6.985 GB, free: 32.11 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002205/35.16, allocations: 55.03 kB / 6.985 GB, free: 32.11 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/35.16, allocations: 499.1 kB / 6.985 GB, free: 32.03 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008403/35.17, allocations: 1.079 MB / 6.986 GB, free: 32.03 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009627/35.18, allocations: 8.23 MB / 6.994 GB, free: 25.32 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01481/35.19, allocations: 0.5927 MB / 6.995 GB, free: 25.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/35.19, allocations: 254 kB / 6.995 GB, free: 25.3 MB / 1.245 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.002889/35.2, allocations: 295.5 kB / 6.995 GB, free: 25.19 MB / 1.245 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01744/35.22, allocations: 4.215 MB / 7 GB, free: 24.46 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004615/35.22, allocations: 0.9628 MB / 7.001 GB, free: 23.95 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02281/35.24, allocations: 4.933 MB / 7.005 GB, free: 23.59 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/35.24, allocations: 41.86 kB / 7.005 GB, free: 23.59 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/35.24, allocations: 3.469 kB / 7.005 GB, free: 23.59 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01249/35.26, allocations: 3.447 MB / 7.009 GB, free: 23.35 MB / 1.245 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.04621/35.3, allocations: 11.39 MB / 7.02 GB, free: 22.7 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/35.3, allocations: 0 / 7.02 GB, free: 22.7 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006743/35.31, allocations: 0.7064 MB / 7.021 GB, free: 22.7 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/35.31, allocations: 420.1 kB / 7.021 GB, free: 22.62 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009502/35.31, allocations: 67.7 kB / 7.021 GB, free: 22.62 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009586/35.32, allocations: 8.12 MB / 7.029 GB, free: 31.93 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/35.32, allocations: 4.156 kB / 7.029 GB, free: 31.93 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/35.34, allocations: 6.767 MB / 7.036 GB, free: 30.83 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009035/35.35, allocations: 1.723 MB / 7.037 GB, free: 30.21 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00396/35.36, allocations: 21.31 kB / 7.037 GB, free: 30.21 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01422/35.37, allocations: 0.585 MB / 7.038 GB, free: 30.19 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/35.37, allocations: 229.6 kB / 7.038 GB, free: 30.19 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009435/35.37, allocations: 196.8 kB / 7.038 GB, free: 30.19 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.01834/35.39, allocations: 5.712 MB / 7.044 GB, free: 29.9 MB / 1.26 GB Notification: Performance of sort global known variables: time 8.82e-07/35.39, allocations: 0 / 7.044 GB, free: 29.9 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.03543/35.43, allocations: 5.598 MB / 7.049 GB, free: 29.57 MB / 1.26 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.04028/35.47, allocations: 13.79 MB / 7.063 GB, free: 25.35 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.02145/35.49, allocations: 7.258 MB / 7.07 GB, free: 24.81 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/35.49, allocations: 5.469 kB / 7.07 GB, free: 24.81 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.006689/35.5, allocations: 2.081 MB / 7.072 GB, free: 24.59 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04021/35.54, allocations: 4.706 MB / 7.077 GB, free: 24.5 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0679/35.6, allocations: 16.94 MB / 7.093 GB, free: 20.7 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01575/35.62, allocations: 5.669 MB / 7.099 GB, free: 19.64 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.03604/35.66, allocations: 3.779 MB / 7.102 GB, free: 19.18 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01342/35.67, allocations: 4.876 MB / 7.107 GB, free: 19.18 MB / 1.26 GB Notification: Performance of SimCode: time 1.663e-06/35.67, allocations: 4 kB / 7.107 GB, free: 19.17 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.025/37.69, allocations: 284.9 MB / 7.385 GB, free: 153.2 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/37.69, allocations: 200.4 kB / 7.385 GB, free: 153 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.96/59.66, allocations: 4.75 kB / 7.385 GB, free: 152.9 MB / 1.307 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)