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.641/1.641, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.001505/0.001505, allocations: 177.1 kB / 377.1 MB, free: 1.531 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.623/1.623, allocations: 205.4 MB / 0.6366 GB, free: 8.645 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.0008725/0.0008726, allocations: 93.06 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003718, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2972, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.816/2.114, allocations: 487.6 MB / 1.465 GB, free: 229.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003996/2.114, allocations: 95.95 kB / 1.465 GB, free: 229.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 24.79/26.9, allocations: 5.404 GB / 6.868 GB, free: 52.73 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.595e-06/26.9, allocations: 1.031 kB / 6.868 GB, free: 52.73 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003503/26.91, allocations: 317.8 kB / 6.869 GB, free: 52.68 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.06192/26.97, allocations: 13.71 MB / 6.882 GB, free: 46.55 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/26.97, allocations: 9.969 kB / 6.882 GB, free: 46.55 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005683/26.98, allocations: 0.933 MB / 6.883 GB, free: 46.47 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/26.99, allocations: 2.478 MB / 6.885 GB, free: 45.7 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06826/27.06, allocations: 19.21 MB / 6.904 GB, free: 43.33 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/27.06, allocations: 0.564 MB / 6.905 GB, free: 43.31 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003996/27.07, allocations: 0.7376 MB / 6.906 GB, free: 43.31 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/27.1, allocations: 8.57 MB / 6.914 GB, free: 42.01 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006302/27.1, allocations: 25.66 kB / 6.914 GB, free: 41.99 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003622/27.1, allocations: 305 kB / 6.914 GB, free: 41.99 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/27.1, allocations: 197.8 kB / 6.914 GB, free: 41.99 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/27.13, allocations: 6.382 MB / 6.921 GB, free: 41.81 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.08405/27.21, allocations: 46.13 MB / 6.966 GB, free: 15.48 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/27.22, allocations: 4.027 MB / 6.97 GB, free: 15.34 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02643/27.25, allocations: 9.532 MB / 6.979 GB, free: 11.62 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005178/27.25, allocations: 2.184 MB / 6.981 GB, free: 11.5 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01022/27.26, allocations: 0.6293 MB / 6.982 GB, free: 11.28 MB / 1.214 GB Notification: Performance of pre-optimization done (n=341): time 4.835e-05/27.26, allocations: 0 / 6.982 GB, free: 11.28 MB / 1.214 GB Notification: Performance of matching and sorting (n=341): time 0.02326/27.28, allocations: 7.137 MB / 6.989 GB, free: 9.492 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/27.29, allocations: 91.67 kB / 6.989 GB, free: 9.426 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02608/27.31, allocations: 8.326 MB / 6.997 GB, free: 8.203 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001806/27.31, allocations: 122 kB / 6.997 GB, free: 8.113 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009188/27.32, allocations: 5.544 MB / 7.002 GB, free: 3.789 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002548/27.32, allocations: 1.184 MB / 7.004 GB, free: 2.875 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005001/27.33, allocations: 96.62 kB / 7.004 GB, free: 2.801 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003726/27.33, allocations: 497.4 kB / 7.004 GB, free: 2.41 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004047/27.33, allocations: 1.703 MB / 7.006 GB, free: 1.805 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00552/27.34, allocations: 3.838 MB / 7.01 GB, free: 14.37 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005647/27.34, allocations: 2.297 MB / 7.012 GB, free: 13.32 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.813e-05/27.34, allocations: 17.44 kB / 7.012 GB, free: 13.32 MB / 1.229 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.02006/27.36, allocations: 6.435 MB / 7.018 GB, free: 10.65 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.01638/27.38, allocations: 31.39 MB / 7.049 GB, free: 8.859 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003118/27.38, allocations: 61.67 kB / 7.049 GB, free: 8.859 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/27.38, allocations: 0.5286 MB / 7.049 GB, free: 8.672 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006253/27.39, allocations: 1.117 MB / 7.05 GB, free: 8.555 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007883/27.39, allocations: 8.366 MB / 7.059 GB, free: 0.9492 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/27.41, allocations: 0.7092 MB / 7.059 GB, free: 0.7656 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/27.41, allocations: 267.6 kB / 7.059 GB, free: 0.7266 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/27.41, allocations: 3.938 kB / 7.059 GB, free: 0.7266 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01967/27.43, allocations: 5.415 MB / 7.065 GB, free: 14.65 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002876/27.43, allocations: 50.62 kB / 7.065 GB, free: 14.65 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/27.43, allocations: 0.5401 MB / 7.065 GB, free: 14.46 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005701/27.44, allocations: 1.083 MB / 7.066 GB, free: 14.35 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009798/27.45, allocations: 8.362 MB / 7.075 GB, free: 6.742 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01628/27.47, allocations: 0.6997 MB / 7.075 GB, free: 6.559 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002509/27.47, allocations: 256.1 kB / 7.076 GB, free: 6.516 MB / 1.276 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.01545/27.48, allocations: 2.577 MB / 7.078 GB, free: 5.098 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006202/27.49, allocations: 0.9848 MB / 7.079 GB, free: 4.566 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02258/27.51, allocations: 5.431 MB / 7.084 GB, free: 1.062 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.534e-05/27.51, allocations: 40 kB / 7.084 GB, free: 1.023 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.863e-05/27.51, allocations: 4 kB / 7.084 GB, free: 1.02 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407/28.92, allocations: 3.85 MB / 7.088 GB, free: 115.3 MB / 1.276 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.05003/28.97, allocations: 12.7 MB / 7.1 GB, free: 114.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/28.97, allocations: 1.625 kB / 7.1 GB, free: 114.5 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003875/28.97, allocations: 0.7113 MB / 7.101 GB, free: 114.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/28.98, allocations: 461.7 kB / 7.102 GB, free: 114.5 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005506/28.98, allocations: 111.8 kB / 7.102 GB, free: 114.5 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/28.98, allocations: 8.267 MB / 7.11 GB, free: 107.7 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/28.98, allocations: 5.219 kB / 7.11 GB, free: 107.7 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02177/29, allocations: 7.464 MB / 7.117 GB, free: 107.1 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009629/29.01, allocations: 1.737 MB / 7.119 GB, free: 107 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004938/29.02, allocations: 71.92 kB / 7.119 GB, free: 107 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01197/29.03, allocations: 0.6535 MB / 7.12 GB, free: 107 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/29.03, allocations: 224.7 kB / 7.12 GB, free: 107 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001295/29.03, allocations: 195.8 kB / 7.12 GB, free: 107 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02068/29.05, allocations: 6.4 MB / 7.126 GB, free: 106.7 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.342e-06/29.05, allocations: 0.5625 kB / 7.126 GB, free: 106.7 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.03379/29.09, allocations: 5.829 MB / 7.132 GB, free: 106.6 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 0.03863/29.13, allocations: 14.79 MB / 7.146 GB, free: 102.2 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.02104/29.15, allocations: 7.829 MB / 7.154 GB, free: 101.7 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/29.15, allocations: 4.812 kB / 7.154 GB, free: 101.7 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.006466/29.15, allocations: 2.354 MB / 7.156 GB, free: 101.4 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02998/29.18, allocations: 4.874 MB / 7.161 GB, free: 101.4 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1012/29.28, allocations: 76.87 MB / 7.236 GB, free: 37.48 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01727/29.3, allocations: 5.648 MB / 7.242 GB, free: 36.57 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01908/29.32, allocations: 2.599 MB / 7.244 GB, free: 36.45 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01287/29.33, allocations: 5.089 MB / 7.249 GB, free: 36.45 MB / 1.276 GB Notification: Performance of SimCode: time 1.423e-06/29.33, allocations: 0 / 7.249 GB, free: 36.45 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.568/29.9, allocations: 311 MB / 7.553 GB, free: 6.531 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/29.9, allocations: 277.4 kB / 7.553 GB, free: 6.168 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.79/48.69, allocations: 4 kB / 7.553 GB, free: 6.164 MB / 1.339 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)