Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",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.727/1.727, allocations: 292.6 MB / 307.5 MB, free: 5.098 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.001198/0.001198, allocations: 180.4 kB / 377.1 MB, free: 1.418 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.376/2.376, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.001071/0.001071, allocations: 98.84 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004515, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3559, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.911/2.267, allocations: 390.9 MB / 1.37 GB, free: 252.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/2.268, allocations: 97.02 kB / 1.37 GB, free: 252.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.951/4.219, allocations: 0.5674 GB / 1.938 GB, free: 159.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.685e-06/4.219, allocations: 0 / 1.938 GB, free: 159.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001567/4.219, allocations: 20 kB / 1.938 GB, free: 159.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004166/4.223, allocations: 1.356 MB / 1.939 GB, free: 157.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/4.223, allocations: 8.031 kB / 1.939 GB, free: 157.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003247/4.224, allocations: 98.52 kB / 1.939 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/4.226, allocations: 496.7 kB / 1.94 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0158/4.242, allocations: 7.171 MB / 1.947 GB, free: 150 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/4.242, allocations: 45.31 kB / 1.947 GB, free: 149.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/4.243, allocations: 64 kB / 1.947 GB, free: 149.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/4.245, allocations: 0.8475 MB / 1.947 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/4.245, allocations: 8 kB / 1.947 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/4.245, allocations: 24 kB / 1.948 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/4.245, allocations: 16 kB / 1.948 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/4.247, allocations: 0.8453 MB / 1.948 GB, free: 148.1 MB / 0.948 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.006912/4.254, allocations: 4.635 MB / 1.953 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003709/4.258, allocations: 0.9524 MB / 1.954 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/4.259, allocations: 0.9337 MB / 1.955 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/4.259, allocations: 38.5 kB / 1.955 GB, free: 140.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 3.427e-06/4.259, allocations: 0 / 1.955 GB, free: 140.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.003271/4.262, allocations: 1.117 MB / 1.956 GB, free: 139.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/4.262, allocations: 55.41 kB / 1.956 GB, free: 139.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/4.263, allocations: 0.6333 MB / 1.957 GB, free: 139.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.515e-05/4.263, allocations: 37.7 kB / 1.957 GB, free: 139 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/4.263, allocations: 436 kB / 1.957 GB, free: 138.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/4.264, allocations: 130.1 kB / 1.957 GB, free: 138.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/4.264, allocations: 8 kB / 1.957 GB, free: 138.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/4.264, allocations: 329.9 kB / 1.957 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009516/4.265, allocations: 356.9 kB / 1.958 GB, free: 137.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009986/4.266, allocations: 0.541 MB / 1.958 GB, free: 137.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009121/4.267, allocations: 370.5 kB / 1.959 GB, free: 136.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/4.267, allocations: 4 kB / 1.959 GB, free: 136.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002303/4.269, allocations: 0.9134 MB / 1.96 GB, free: 135.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004208/4.269, allocations: 1.661 MB / 1.961 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/4.269, allocations: 4 kB / 1.961 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/4.269, allocations: 8 kB / 1.961 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/4.27, allocations: 183.7 kB / 1.961 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/4.27, allocations: 15.94 kB / 1.961 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/4.271, allocations: 163.4 kB / 1.962 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-05/4.272, allocations: 31.92 kB / 1.962 GB, free: 133.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/4.272, allocations: 7.984 kB / 1.962 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002061/4.274, allocations: 0.819 MB / 1.962 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/4.274, allocations: 7.953 kB / 1.962 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/4.274, allocations: 8 kB / 1.962 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/4.275, allocations: 188.3 kB / 1.963 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/4.275, allocations: 7.938 kB / 1.963 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/4.276, allocations: 163.4 kB / 1.963 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-05/4.276, allocations: 27.98 kB / 1.963 GB, free: 132.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008569/4.277, allocations: 308.9 kB / 1.963 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/4.277, allocations: 86.95 kB / 1.963 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/4.28, allocations: 1 MB / 1.964 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/4.28, allocations: 11.97 kB / 1.964 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/4.28, allocations: 0 / 1.964 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/4.28, allocations: 0 / 1.964 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/4.285, allocations: 1.867 MB / 1.966 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/4.285, allocations: 4.094 kB / 1.966 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000756/4.286, allocations: 151.8 kB / 1.966 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/4.286, allocations: 4 kB / 1.966 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/4.286, allocations: 11.98 kB / 1.966 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/4.286, allocations: 4 kB / 1.966 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/4.286, allocations: 0 / 1.966 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/4.289, allocations: 1.515 MB / 1.968 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/4.29, allocations: 227.9 kB / 1.968 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/4.29, allocations: 15.95 kB / 1.968 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009889/4.291, allocations: 123.8 kB / 1.968 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/4.291, allocations: 35.7 kB / 1.968 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/4.291, allocations: 19.98 kB / 1.968 GB, free: 127 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000878/4.292, allocations: 0.4912 MB / 1.968 GB, free: 126.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/4.292, allocations: 3.938 kB / 1.968 GB, free: 126.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002128/4.294, allocations: 463.3 kB / 1.969 GB, free: 126 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004475/4.299, allocations: 2.674 MB / 1.972 GB, free: 123.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003249/4.302, allocations: 1.26 MB / 1.973 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/4.302, allocations: 0 / 1.973 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/4.303, allocations: 445.6 kB / 1.973 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/4.305, allocations: 341.9 kB / 1.973 GB, free: 121.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/4.319, allocations: 8.56 MB / 1.982 GB, free: 112.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/4.32, allocations: 0.9829 MB / 1.983 GB, free: 111.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00121/4.321, allocations: 214.6 kB / 1.983 GB, free: 111.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/4.322, allocations: 343.3 kB / 1.983 GB, free: 111 MB / 0.948 GB Notification: Performance of SimCode: time 1.583e-06/4.322, allocations: 0 / 1.983 GB, free: 111 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/4.366, allocations: 26.2 MB / 2.009 GB, free: 85.13 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/4.367, allocations: 231.6 kB / 2.009 GB, free: 84.89 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/7.527, allocations: 0 / 2.009 GB, free: 84.89 MB / 0.948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)