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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009363/0.0009363, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.467/1.467, allocations: 292.3 MB / 0.5489 GB, free: 13.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.48 kB / 0.6716 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1682, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.135/2.303, allocations: 1.349 GB / 2.133 GB, free: 11.24 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.9159/3.219, allocations: 329.4 MB / 2.454 GB, free: 34.09 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03303/3.252, allocations: 1.146 MB / 2.455 GB, free: 34.09 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.02728/3.279, allocations: 12.95 MB / 2.468 GB, free: 33.93 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.06654/3.346, allocations: 32.09 MB / 2.499 GB, free: 28.87 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.03379/3.38, allocations: 18.77 MB / 2.518 GB, free: 15.78 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.05657/3.436, allocations: 56.46 MB / 2.573 GB, free: 6.219 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02888/3.465, allocations: 22.5 MB / 2.595 GB, free: 15.83 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04478/3.51, allocations: 24.72 MB / 2.619 GB, free: 8.559 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02722/3.537, allocations: 17.6 MB / 2.636 GB, free: 8.152 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.004387/3.542, allocations: 2.074 MB / 2.638 GB, free: 6.078 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03647/3.578, allocations: 17.76 MB / 2.655 GB, free: 5.031 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.005559/3.584, allocations: 4.739 MB / 2.66 GB, free: 352 kB / 1.451 GB Notification: Performance of NFVerifyModel.verify: time 0.01483/3.599, allocations: 10.9 MB / 2.671 GB, free: 5.457 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.05164/3.65, allocations: 41.1 MB / 2.711 GB, free: 13.63 MB / 1.514 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/3.65, allocations: 0 / 2.711 GB, free: 13.63 MB / 1.514 GB Notification: Performance of FrontEnd: time 1.423e-06/3.65, allocations: 0 / 2.711 GB, free: 13.63 MB / 1.514 GB Notification: Performance of Transformations before backend: time 0.0005596/3.651, allocations: 4 kB / 2.711 GB, free: 13.62 MB / 1.514 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.03076/3.682, allocations: 20.5 MB / 2.731 GB, free: 9.172 MB / 1.529 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/3.682, allocations: 8.031 kB / 2.731 GB, free: 9.164 MB / 1.529 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001768/3.683, allocations: 1.572 MB / 2.732 GB, free: 7.582 MB / 1.529 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/3.688, allocations: 2.197 MB / 2.735 GB, free: 5.363 MB / 1.529 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02314/3.711, allocations: 17.04 MB / 2.751 GB, free: 4.637 MB / 1.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005799/3.712, allocations: 0.9526 MB / 2.752 GB, free: 3.684 MB / 1.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/3.714, allocations: 1.25 MB / 2.753 GB, free: 2.434 MB / 1.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/3.733, allocations: 14.09 MB / 2.767 GB, free: 3.578 MB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001872/3.733, allocations: 43.62 kB / 2.767 GB, free: 3.535 MB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008869/3.734, allocations: 0.5106 MB / 2.768 GB, free: 3.027 MB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002394/3.734, allocations: 339.9 kB / 2.768 GB, free: 2.695 MB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/3.748, allocations: 9.713 MB / 2.778 GB, free: 9.02 MB / 1.576 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.06501/3.813, allocations: 72.9 MB / 2.849 GB, free: 12.93 MB / 1.654 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005888/3.819, allocations: 4.573 MB / 2.853 GB, free: 8.121 MB / 1.654 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/3.822, allocations: 2.433 MB / 2.856 GB, free: 5.613 MB / 1.654 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7579/4.58, allocations: 51.47 MB / 2.906 GB, free: 229.9 MB / 1.654 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/4.58, allocations: 118.1 kB / 2.906 GB, free: 229.8 MB / 1.654 GB Notification: Performance of pre-optimization done (n=412): time 6.061e-06/4.58, allocations: 1.688 kB / 2.906 GB, free: 229.8 MB / 1.654 GB Notification: Performance of matching and sorting (n=412): time 0.01243/4.593, allocations: 6.966 MB / 2.913 GB, free: 229.8 MB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/4.593, allocations: 0.7904 MB / 2.913 GB, free: 228.9 MB / 1.654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02078/4.613, allocations: 16.26 MB / 2.929 GB, free: 228 MB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.0008991/4.614, allocations: 147.7 kB / 2.93 GB, free: 228 MB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 0.006246/4.621, allocations: 8.359 MB / 2.938 GB, free: 227.6 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/4.622, allocations: 1.451 MB / 2.939 GB, free: 226.6 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001643/4.624, allocations: 1.429 MB / 2.94 GB, free: 226.5 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 3.108e-05/4.624, allocations: 307 kB / 2.941 GB, free: 226.2 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/4.626, allocations: 2.02 MB / 2.943 GB, free: 226.2 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004258/4.631, allocations: 4.966 MB / 2.948 GB, free: 223 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/4.637, allocations: 6.686 MB / 2.954 GB, free: 220.3 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.063e-05/4.637, allocations: 21.12 kB / 2.954 GB, free: 220.3 MB / 1.654 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01202/4.649, allocations: 7.981 MB / 2.962 GB, free: 219.4 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/4.649, allocations: 43.27 kB / 2.962 GB, free: 219.4 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.867e-05/4.649, allocations: 70.34 kB / 2.962 GB, free: 219.4 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/4.649, allocations: 105.5 kB / 2.962 GB, free: 219.4 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/4.652, allocations: 1.373 MB / 2.964 GB, free: 219.4 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.441e-05/4.653, allocations: 150.9 kB / 2.964 GB, free: 219.4 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007597/4.66, allocations: 1.305 MB / 2.965 GB, free: 218.7 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000477/4.661, allocations: 368.8 kB / 2.965 GB, free: 218.7 MB / 1.654 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 801 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005064/4.666, allocations: 3.399 MB / 2.969 GB, free: 218.5 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002813/4.669, allocations: 1.633 MB / 2.97 GB, free: 217.7 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009554/4.678, allocations: 7.54 MB / 2.978 GB, free: 217.2 MB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-05/4.678, allocations: 82.08 kB / 2.978 GB, free: 217.2 MB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/4.678, allocations: 7.062 kB / 2.978 GB, free: 217.2 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00295/4.681, allocations: 3.854 MB / 2.981 GB, free: 215.5 MB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02856/4.71, allocations: 28.5 MB / 3.009 GB, free: 211.4 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.779e-05/4.71, allocations: 31.19 kB / 3.009 GB, free: 211.4 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/4.712, allocations: 0.7767 MB / 3.01 GB, free: 211.4 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.554e-05/4.712, allocations: 55.78 kB / 3.01 GB, free: 211.4 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/4.712, allocations: 154.1 kB / 3.01 GB, free: 211.4 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.582e-05/4.712, allocations: 68.72 kB / 3.01 GB, free: 211.4 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.945e-05/4.712, allocations: 51.06 kB / 3.01 GB, free: 211.4 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/4.723, allocations: 11.93 MB / 3.022 GB, free: 207.1 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004165/4.727, allocations: 2.83 MB / 3.025 GB, free: 206 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/4.729, allocations: 159 kB / 3.025 GB, free: 206 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004746/4.734, allocations: 211.5 kB / 3.025 GB, free: 205.9 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000361/4.734, allocations: 403.3 kB / 3.025 GB, free: 205.9 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003145/4.734, allocations: 263.7 kB / 3.026 GB, free: 205.9 MB / 1.654 GB Notification: Performance of sorting global known variables: time 0.01306/4.747, allocations: 11.58 MB / 3.037 GB, free: 205.4 MB / 1.654 GB Notification: Performance of sort global known variables: time 3.11e-07/4.747, allocations: 3.188 kB / 3.037 GB, free: 205.4 MB / 1.654 GB Notification: Performance of remove unused functions: time 0.01221/4.76, allocations: 5.293 MB / 3.042 GB, free: 205 MB / 1.654 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,buiHeaGen2to4.bui.loaHea.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,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01883/4.779, allocations: 16.86 MB / 3.059 GB, free: 199.4 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.007391/4.786, allocations: 5.786 MB / 3.064 GB, free: 196.2 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 2.061e-05/4.786, allocations: 11.91 kB / 3.064 GB, free: 196.2 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.002503/4.788, allocations: 2.573 MB / 3.067 GB, free: 194.8 MB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03705/4.826, allocations: 10.1 MB / 3.077 GB, free: 188.8 MB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1748/5, allocations: 266.8 MB / 3.337 GB, free: 1.723 MB / 1.733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006349/5.007, allocations: 7.436 MB / 3.345 GB, free: 10.25 MB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.01144/5.018, allocations: 3.177 MB / 3.348 GB, free: 7.16 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007967/5.026, allocations: 7.825 MB / 3.355 GB, free: 15.34 MB / 1.764 GB Notification: Performance of SimCode: time 6.41e-07/5.026, allocations: 0 / 3.355 GB, free: 15.34 MB / 1.764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.423/11.45, allocations: 0.4931 GB / 3.848 GB, free: 0.9457 GB / 1.904 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.09/34.54, allocations: 15.39 kB / 3.848 GB, free: 0.9457 GB / 1.904 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/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)