Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001278/0.001278, allocations: 184.8 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008938/0.0008938, allocations: 96.44 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.128e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8011, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.356/2.157, allocations: 486.9 MB / 1.449 GB, free: 66.79 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003984/2.158, allocations: 87.08 kB / 1.449 GB, free: 66.75 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 23.86/26.02, allocations: 5.363 GB / 6.812 GB, free: 50.59 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.633e-06/26.02, allocations: 0 / 6.812 GB, free: 50.59 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002976/26.02, allocations: 319.3 kB / 6.813 GB, free: 50.53 MB / 1.198 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.03807/26.06, allocations: 10.64 MB / 6.823 GB, free: 45.36 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/26.06, allocations: 10.75 kB / 6.823 GB, free: 45.36 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/26.07, allocations: 2.475 MB / 6.826 GB, free: 44.59 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05491/26.13, allocations: 19.08 MB / 6.844 GB, free: 37.89 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005887/26.13, allocations: 248 kB / 6.844 GB, free: 37.88 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003174/26.13, allocations: 447 kB / 6.845 GB, free: 37.88 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01688/26.15, allocations: 5.555 MB / 6.85 GB, free: 33.37 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02415/26.17, allocations: 7.26 MB / 6.857 GB, free: 26.73 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/26.17, allocations: 19.78 kB / 6.857 GB, free: 26.71 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00131/26.17, allocations: 19.61 kB / 6.857 GB, free: 26.7 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001617/26.17, allocations: 199.5 kB / 6.858 GB, free: 26.51 MB / 1.198 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.07515/26.25, allocations: 44.91 MB / 6.901 GB, free: 10.5 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008279/26.26, allocations: 3.627 MB / 6.905 GB, free: 6.922 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004096/26.26, allocations: 2.004 MB / 6.907 GB, free: 4.914 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305/27.57, allocations: 9.5 MB / 6.916 GB, free: 86.59 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004376/27.57, allocations: 1.873 MB / 6.918 GB, free: 86.5 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007815/27.58, allocations: 0.5449 MB / 6.919 GB, free: 86.49 MB / 1.229 GB Notification: Performance of pre-optimization done (n=339): time 1.429e-05/27.58, allocations: 0 / 6.919 GB, free: 86.49 MB / 1.229 GB Notification: Performance of matching and sorting (n=339): time 0.01592/27.59, allocations: 4.374 MB / 6.923 GB, free: 86.28 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/27.59, allocations: 91.64 kB / 6.923 GB, free: 86.21 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02502/27.62, allocations: 7.61 MB / 6.93 GB, free: 85.7 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001657/27.62, allocations: 40.16 kB / 6.93 GB, free: 85.67 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.00783/27.63, allocations: 5.524 MB / 6.936 GB, free: 84.76 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.002688/27.63, allocations: 1.133 MB / 6.937 GB, free: 84.18 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/27.63, allocations: 0 / 6.937 GB, free: 84.18 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0004119/27.63, allocations: 492.1 kB / 6.937 GB, free: 83.86 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002706/27.64, allocations: 1.466 MB / 6.939 GB, free: 83.85 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/27.64, allocations: 3.549 MB / 6.942 GB, free: 81.25 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006153/27.65, allocations: 2.35 MB / 6.945 GB, free: 81.19 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.892e-05/27.65, allocations: 17.28 kB / 6.945 GB, free: 81.19 MB / 1.229 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01457/27.66, allocations: 5.91 MB / 6.95 GB, free: 80.47 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007037/27.67, allocations: 31.14 MB / 6.981 GB, free: 47.39 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002195/27.67, allocations: 54.44 kB / 6.981 GB, free: 47.39 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/27.67, allocations: 496.5 kB / 6.981 GB, free: 47.31 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005903/27.67, allocations: 1.117 MB / 6.982 GB, free: 47.31 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006275/27.68, allocations: 8.217 MB / 6.99 GB, free: 40.62 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01384/27.7, allocations: 0.6141 MB / 6.991 GB, free: 40.59 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002258/27.7, allocations: 266.7 kB / 6.991 GB, free: 40.59 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/27.7, allocations: 3.344 kB / 6.991 GB, free: 40.59 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01337/27.71, allocations: 4.706 MB / 6.996 GB, free: 40.41 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001517/27.71, allocations: 54.69 kB / 6.996 GB, free: 40.41 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/27.71, allocations: 493.3 kB / 6.996 GB, free: 40.33 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004783/27.72, allocations: 1.083 MB / 6.997 GB, free: 40.33 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006266/27.72, allocations: 8.219 MB / 7.005 GB, free: 33.63 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01226/27.74, allocations: 0.5947 MB / 7.006 GB, free: 33.61 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/27.74, allocations: 256.5 kB / 7.006 GB, free: 33.6 MB / 1.229 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.002491/27.74, allocations: 292.8 kB / 7.007 GB, free: 33.49 MB / 1.229 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0143/27.75, allocations: 4.213 MB / 7.011 GB, free: 32.77 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004395/27.76, allocations: 0.9671 MB / 7.012 GB, free: 32.25 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/27.77, allocations: 4.929 MB / 7.016 GB, free: 31.9 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/27.77, allocations: 38.58 kB / 7.016 GB, free: 31.9 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/27.77, allocations: 4.969 kB / 7.016 GB, free: 31.9 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006901/27.78, allocations: 3.441 MB / 7.02 GB, free: 31.66 MB / 1.229 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.03755/27.82, allocations: 11.39 MB / 7.031 GB, free: 31.01 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/27.82, allocations: 0 / 7.031 GB, free: 31.01 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00331/27.82, allocations: 0.705 MB / 7.032 GB, free: 31.01 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/27.82, allocations: 428.7 kB / 7.032 GB, free: 30.93 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000323/27.82, allocations: 66.22 kB / 7.032 GB, free: 30.93 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005301/27.83, allocations: 8.119 MB / 7.04 GB, free: 24.23 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/27.83, allocations: 1.688 kB / 7.04 GB, free: 24.23 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/27.85, allocations: 6.775 MB / 7.047 GB, free: 23.14 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008301/27.86, allocations: 1.723 MB / 7.048 GB, free: 22.52 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003953/27.86, allocations: 16.83 kB / 7.048 GB, free: 22.52 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009942/27.87, allocations: 0.5838 MB / 7.049 GB, free: 22.5 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008692/27.87, allocations: 229.5 kB / 7.049 GB, free: 22.5 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007475/27.87, allocations: 196.9 kB / 7.049 GB, free: 22.5 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.01914/27.89, allocations: 5.708 MB / 7.055 GB, free: 22.21 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.262e-06/27.89, allocations: 0 / 7.055 GB, free: 22.21 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.03316/27.92, allocations: 5.594 MB / 7.06 GB, free: 21.88 MB / 1.229 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.0311/27.95, allocations: 13.82 MB / 7.074 GB, free: 33.62 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01799/27.97, allocations: 7.254 MB / 7.081 GB, free: 33.08 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/27.97, allocations: 4.75 kB / 7.081 GB, free: 33.08 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.004288/27.98, allocations: 2.087 MB / 7.083 GB, free: 32.87 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02983/28.01, allocations: 4.694 MB / 7.088 GB, free: 32.79 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06182/28.07, allocations: 16.94 MB / 7.104 GB, free: 29.06 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/28.08, allocations: 5.674 MB / 7.11 GB, free: 28.11 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.02562/28.11, allocations: 3.782 MB / 7.113 GB, free: 27.65 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01161/28.12, allocations: 4.88 MB / 7.118 GB, free: 27.65 MB / 1.245 GB Notification: Performance of SimCode: time 1.382e-06/28.12, allocations: 4 kB / 7.118 GB, free: 27.65 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.888/30.01, allocations: 285.9 MB / 7.397 GB, free: 119.5 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/30.01, allocations: 197.3 kB / 7.398 GB, free: 119.3 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.2/50.2, allocations: 3.375 kB / 7.398 GB, free: 119.3 MB / 1.307 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)