Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",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.732/1.732, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.00137/0.00137, allocations: 182.2 kB / 371.6 MB, free: 3.426 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.736/1.736, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009582/0.0009582, allocations: 89.58 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.101e-05/4.146e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2835, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.87/9.154, allocations: 3.156 GB / 4.136 GB, free: 205.7 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005059/9.155, allocations: 105.5 kB / 4.136 GB, free: 205.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 54.99/64.14, allocations: 10.53 GB / 14.66 GB, free: 71.58 MB / 1.62 GB Notification: Performance of FrontEnd: time 4.248e-06/64.14, allocations: 0 / 14.66 GB, free: 71.58 MB / 1.62 GB Notification: Performance of Transformations before backend: time 0.006064/64.15, allocations: 0.5426 MB / 14.66 GB, free: 71.45 MB / 1.62 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.0781/64.23, allocations: 17.62 MB / 14.68 GB, free: 62.91 MB / 1.62 GB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/64.23, allocations: 9.188 kB / 14.68 GB, free: 62.91 MB / 1.62 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01066/64.24, allocations: 1.574 MB / 14.68 GB, free: 62.79 MB / 1.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02107/64.26, allocations: 2.59 MB / 14.69 GB, free: 61.75 MB / 1.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07273/64.33, allocations: 20.23 MB / 14.71 GB, free: 58.59 MB / 1.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002344/64.33, allocations: 0.982 MB / 14.71 GB, free: 58.56 MB / 1.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008996/64.34, allocations: 1.319 MB / 14.71 GB, free: 58.55 MB / 1.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05806/64.4, allocations: 13.29 MB / 14.72 GB, free: 56.23 MB / 1.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001183/64.4, allocations: 39.34 kB / 14.72 GB, free: 56.2 MB / 1.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005892/64.41, allocations: 0.5104 MB / 14.72 GB, free: 56.2 MB / 1.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005919/64.41, allocations: 336.5 kB / 14.72 GB, free: 56.2 MB / 1.62 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02764/64.44, allocations: 9.064 MB / 14.73 GB, free: 55.9 MB / 1.62 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.1311/64.57, allocations: 68.83 MB / 14.8 GB, free: 20.45 MB / 1.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00874/64.58, allocations: 4.876 MB / 14.8 GB, free: 19.67 MB / 1.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/64.58, allocations: 2.373 MB / 14.8 GB, free: 19.43 MB / 1.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08814/64.67, allocations: 51.49 MB / 14.85 GB, free: 12.64 MB / 1.651 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/64.67, allocations: 133.7 kB / 14.85 GB, free: 12.57 MB / 1.651 GB Notification: Performance of pre-optimization done (n=427): time 2.565e-05/64.67, allocations: 0 / 14.85 GB, free: 12.57 MB / 1.651 GB Notification: Performance of matching and sorting (n=427): time 0.02379/64.69, allocations: 5.512 MB / 14.86 GB, free: 11.56 MB / 1.651 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000753/64.69, allocations: 0.7966 MB / 14.86 GB, free: 10.64 MB / 1.651 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05306/64.75, allocations: 14.08 MB / 14.87 GB, free: 9.738 MB / 1.651 GB Notification: Performance of collectPreVariables (initialization): time 0.002935/64.75, allocations: 173.2 kB / 14.87 GB, free: 9.707 MB / 1.651 GB Notification: Performance of collectInitialEqns (initialization): time 0.01985/64.77, allocations: 8.778 MB / 14.88 GB, free: 5.453 MB / 1.651 GB Notification: Performance of collectInitialBindings (initialization): time 0.004483/64.77, allocations: 1.486 MB / 14.88 GB, free: 4.266 MB / 1.651 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/64.78, allocations: 113.4 kB / 14.88 GB, free: 4.176 MB / 1.651 GB Notification: Performance of setup shared object (initialization): time 0.001109/64.78, allocations: 0.52 MB / 14.89 GB, free: 3.773 MB / 1.651 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006117/64.78, allocations: 1.827 MB / 14.89 GB, free: 3.012 MB / 1.651 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0123/64.8, allocations: 5.487 MB / 14.89 GB, free: 13.61 MB / 1.667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008417/64.8, allocations: 2.804 MB / 14.9 GB, free: 12.36 MB / 1.667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000219/64.81, allocations: 19.62 kB / 14.9 GB, free: 12.36 MB / 1.667 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02817/64.83, allocations: 7.448 MB / 14.9 GB, free: 9.23 MB / 1.667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/64.83, allocations: 34.59 kB / 14.9 GB, free: 9.23 MB / 1.667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/64.83, allocations: 68.33 kB / 14.9 GB, free: 9.23 MB / 1.667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/64.83, allocations: 104.6 kB / 14.9 GB, free: 9.23 MB / 1.667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006624/64.84, allocations: 1.333 MB / 14.9 GB, free: 8.172 MB / 1.667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002742/64.84, allocations: 141.1 kB / 14.9 GB, free: 8.047 MB / 1.667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.024/64.87, allocations: 1.647 MB / 14.91 GB, free: 6.562 MB / 1.667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003818/64.87, allocations: 409.6 kB / 14.91 GB, free: 6.207 MB / 1.667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (730): * Single equations (assignments): 730 * 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.006177/64.88, allocations: 0.5779 MB / 14.91 GB, free: 5.617 MB / 1.667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009047/64.88, allocations: 1.631 MB / 14.91 GB, free: 3.969 MB / 1.667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02612/64.91, allocations: 7.646 MB / 14.92 GB, free: 13.53 MB / 1.682 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002894/64.91, allocations: 85.58 kB / 14.92 GB, free: 13.46 MB / 1.682 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.249e-05/64.91, allocations: 8 kB / 14.92 GB, free: 13.45 MB / 1.682 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00751/64.92, allocations: 3.903 MB / 14.92 GB, free: 9.5 MB / 1.682 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09099/65.01, allocations: 28.49 MB / 14.95 GB, free: 1.777 MB / 1.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002012/65.01, allocations: 32 kB / 14.95 GB, free: 1.746 MB / 1.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004237/65.01, allocations: 0.7794 MB / 14.95 GB, free: 1.066 MB / 1.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/65.01, allocations: 52.47 kB / 14.95 GB, free: 1.016 MB / 1.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001485/65.02, allocations: 159.7 kB / 14.95 GB, free: 0.8711 MB / 1.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001179/65.02, allocations: 79.39 kB / 14.95 GB, free: 0.8008 MB / 1.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-05/65.02, allocations: 47.81 kB / 14.95 GB, free: 0.7539 MB / 1.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.923/66.94, allocations: 28.43 MB / 14.98 GB, free: 286.5 MB / 1.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01786/66.96, allocations: 3.038 MB / 14.98 GB, free: 285.9 MB / 1.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01123/66.97, allocations: 136.2 kB / 14.98 GB, free: 285.9 MB / 1.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01929/66.99, allocations: 0.5495 MB / 14.98 GB, free: 285.9 MB / 1.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00212/66.99, allocations: 410.1 kB / 14.98 GB, free: 285.9 MB / 1.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001225/66.99, allocations: 262.6 kB / 14.98 GB, free: 285.9 MB / 1.698 GB Notification: Performance of sorting global known variables: time 0.04563/67.04, allocations: 11.39 MB / 14.99 GB, free: 285.3 MB / 1.698 GB Notification: Performance of sort global known variables: time 2.134e-06/67.04, allocations: 1.156 kB / 14.99 GB, free: 285.3 MB / 1.698 GB Notification: Performance of remove unused functions: time 0.04525/67.08, allocations: 6.425 MB / 15 GB, free: 285.1 MB / 1.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse36.phase,$cse36.region,$cse31.phase,$cse31.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (493): * Single equations (assignments): 427 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * 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.08893/67.17, allocations: 46.37 MB / 15.04 GB, free: 254.7 MB / 1.698 GB Notification: Performance of simCode: created initialization part: time 0.01533/67.19, allocations: 5.281 MB / 15.05 GB, free: 254.7 MB / 1.698 GB Notification: Performance of simCode: created event and clocks part: time 7.581e-05/67.19, allocations: 7.344 kB / 15.05 GB, free: 254.7 MB / 1.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006451/67.19, allocations: 2.637 MB / 15.05 GB, free: 254.7 MB / 1.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07187/67.26, allocations: 9.518 MB / 15.06 GB, free: 254.4 MB / 1.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1089/67.37, allocations: 26.06 MB / 15.09 GB, free: 247.9 MB / 1.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03248/67.41, allocations: 7.766 MB / 15.09 GB, free: 246.9 MB / 1.698 GB Notification: Performance of simCode: alias equations: time 0.0394/67.45, allocations: 3.152 MB / 15.1 GB, free: 246.7 MB / 1.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03089/67.48, allocations: 7.81 MB / 15.1 GB, free: 246.7 MB / 1.698 GB Notification: Performance of SimCode: time 2.425e-06/67.48, allocations: 0 / 15.1 GB, free: 246.7 MB / 1.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.655/72.13, allocations: 0.5825 GB / 15.69 GB, free: 296.4 MB / 1.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/72.13, allocations: 223.3 kB / 15.69 GB, free: 296.2 MB / 1.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.08/118.2, allocations: 0 / 15.69 GB, free: 296.2 MB / 1.698 GB (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1)