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.79/2.79, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001562/0.001562, allocations: 188 kB / 370.8 MB, free: 10.86 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.156/2.156, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 86.92 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.0005177, allocations: 12.06 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.248, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.194/2.442, allocations: 486.5 MB / 1.453 GB, free: 271.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/2.443, allocations: 96.22 kB / 1.453 GB, free: 271.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 31.05/33.49, allocations: 5.404 GB / 6.857 GB, free: 59.36 MB / 1.214 GB Notification: Performance of FrontEnd: time 4.128e-06/33.49, allocations: 3.469 kB / 6.857 GB, free: 59.36 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.002867/33.49, allocations: 318.5 kB / 6.857 GB, free: 59.3 MB / 1.214 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.06389/33.56, allocations: 13.71 MB / 6.871 GB, free: 53.28 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/33.56, allocations: 10.22 kB / 6.871 GB, free: 53.28 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005446/33.56, allocations: 0.9306 MB / 6.872 GB, free: 53.2 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02279/33.59, allocations: 2.484 MB / 6.874 GB, free: 52.48 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08692/33.67, allocations: 19.21 MB / 6.893 GB, free: 50.45 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001393/33.67, allocations: 0.559 MB / 6.894 GB, free: 50.44 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004529/33.68, allocations: 0.7454 MB / 6.894 GB, free: 50.43 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04009/33.72, allocations: 8.571 MB / 6.903 GB, free: 49.22 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006939/33.72, allocations: 23.62 kB / 6.903 GB, free: 49.22 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004322/33.72, allocations: 310.1 kB / 6.903 GB, free: 49.22 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003727/33.72, allocations: 204 kB / 6.903 GB, free: 49.22 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03022/33.75, allocations: 6.374 MB / 6.909 GB, free: 49.14 MB / 1.214 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.1002/33.86, allocations: 46.13 MB / 6.954 GB, free: 23.2 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/33.87, allocations: 4.02 MB / 6.958 GB, free: 23.08 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03467/33.91, allocations: 9.536 MB / 6.968 GB, free: 19.37 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00933/33.92, allocations: 2.183 MB / 6.97 GB, free: 19.25 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009417/33.93, allocations: 0.6267 MB / 6.97 GB, free: 19.04 MB / 1.214 GB Notification: Performance of pre-optimization done (n=341): time 2.322e-05/33.93, allocations: 0 / 6.97 GB, free: 19.04 MB / 1.214 GB Notification: Performance of matching and sorting (n=341): time 0.03323/33.96, allocations: 7.15 MB / 6.977 GB, free: 17.25 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/33.96, allocations: 86.25 kB / 6.977 GB, free: 17.18 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.029/33.99, allocations: 8.328 MB / 6.986 GB, free: 16.59 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001444/33.99, allocations: 118.8 kB / 6.986 GB, free: 16.55 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009581/34, allocations: 5.554 MB / 6.991 GB, free: 14.99 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002602/34, allocations: 1.177 MB / 6.992 GB, free: 14.24 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006899/34, allocations: 94.03 kB / 6.992 GB, free: 14.24 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004025/34, allocations: 491 kB / 6.993 GB, free: 13.93 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007654/34.01, allocations: 1.703 MB / 6.994 GB, free: 13.9 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009616/34.02, allocations: 3.848 MB / 6.998 GB, free: 11.17 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009131/34.03, allocations: 2.289 MB / 7 GB, free: 10.97 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.272e-05/34.03, allocations: 18.02 kB / 7.001 GB, free: 10.97 MB / 1.214 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.02719/34.06, allocations: 6.441 MB / 7.007 GB, free: 9.871 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01394/34.07, allocations: 31.39 MB / 7.037 GB, free: 8.453 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/34.07, allocations: 54.06 kB / 7.038 GB, free: 8.453 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002814/34.07, allocations: 0.5281 MB / 7.038 GB, free: 8.363 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009426/34.08, allocations: 1.117 MB / 7.039 GB, free: 8.285 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009936/34.09, allocations: 8.356 MB / 7.047 GB, free: 1.406 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01543/34.11, allocations: 0.7278 MB / 7.048 GB, free: 1.293 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001622/34.11, allocations: 264.2 kB / 7.048 GB, free: 1.293 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/34.11, allocations: 6.359 kB / 7.048 GB, free: 1.293 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02156/34.13, allocations: 5.39 MB / 7.054 GB, free: 0.7109 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002099/34.13, allocations: 50.28 kB / 7.054 GB, free: 0.7109 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/34.14, allocations: 0.5324 MB / 7.054 GB, free: 0.6211 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00878/34.14, allocations: 1.087 MB / 7.055 GB, free: 0.543 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009582/34.15, allocations: 8.359 MB / 7.063 GB, free: 9.66 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01473/34.17, allocations: 0.6969 MB / 7.064 GB, free: 9.562 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/34.17, allocations: 252 kB / 7.064 GB, free: 9.562 MB / 1.26 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.01022/34.18, allocations: 2.569 MB / 7.067 GB, free: 9.262 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004109/34.19, allocations: 0.9809 MB / 7.068 GB, free: 8.734 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0254/34.21, allocations: 5.435 MB / 7.073 GB, free: 8.289 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.076e-05/34.21, allocations: 39.91 kB / 7.073 GB, free: 8.289 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/34.21, allocations: 3.938 kB / 7.073 GB, free: 8.289 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01771/34.23, allocations: 3.852 MB / 7.077 GB, free: 8.016 MB / 1.26 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.05669/34.29, allocations: 12.71 MB / 7.089 GB, free: 5.781 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/34.29, allocations: 7.828 kB / 7.089 GB, free: 5.777 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007071/34.29, allocations: 0.7068 MB / 7.09 GB, free: 5.719 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002491/34.29, allocations: 470.2 kB / 7.09 GB, free: 5.523 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00107/34.3, allocations: 107.4 kB / 7.09 GB, free: 5.477 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009514/34.31, allocations: 8.259 MB / 7.099 GB, free: 13.91 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/34.31, allocations: 0 / 7.099 GB, free: 13.91 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03049/34.34, allocations: 7.482 MB / 7.106 GB, free: 10.54 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009451/34.35, allocations: 1.739 MB / 7.108 GB, free: 9.484 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004289/34.35, allocations: 70.34 kB / 7.108 GB, free: 9.438 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01489/34.36, allocations: 0.6483 MB / 7.108 GB, free: 9.297 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/34.37, allocations: 223.3 kB / 7.108 GB, free: 9.27 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009034/34.37, allocations: 194.5 kB / 7.109 GB, free: 9.238 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02093/34.39, allocations: 6.4 MB / 7.115 GB, free: 6.953 MB / 1.276 GB Notification: Performance of sort global known variables: time 2.104e-06/34.39, allocations: 0 / 7.115 GB, free: 6.953 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.03584/34.42, allocations: 5.833 MB / 7.121 GB, free: 5.496 MB / 1.276 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 1.366/35.79, allocations: 14.79 MB / 7.135 GB, free: 118.3 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.03188/35.82, allocations: 7.823 MB / 7.143 GB, free: 117.7 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.232e-05/35.82, allocations: 3.875 kB / 7.143 GB, free: 117.7 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.009807/35.83, allocations: 2.362 MB / 7.145 GB, free: 117.5 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04173/35.87, allocations: 4.864 MB / 7.15 GB, free: 117.4 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1029/35.98, allocations: 76.87 MB / 7.225 GB, free: 53.62 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01675/35.99, allocations: 5.642 MB / 7.23 GB, free: 52.71 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.02417/36.02, allocations: 2.595 MB / 7.233 GB, free: 52.62 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01622/36.03, allocations: 5.082 MB / 7.238 GB, free: 52.62 MB / 1.276 GB Notification: Performance of SimCode: time 2.525e-06/36.03, allocations: 0.7656 kB / 7.238 GB, free: 52.62 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8043/36.84, allocations: 311 MB / 7.542 GB, free: 6.273 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000415/36.84, allocations: 271.2 kB / 7.542 GB, free: 5.918 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.51/56.35, allocations: 3.438 kB / 7.542 GB, free: 5.918 MB / 1.292 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)