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.001152/0.001152, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 192 kB / 16.25 MB, free: 6.145 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.172/1.172, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.482/1.482, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001371/0.001371, allocations: 63.94 kB / 0.6711 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1662, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.096/2.262, allocations: 1.336 GB / 2.119 GB, free: 9.773 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.9254/3.188, allocations: 326.9 MB / 2.438 GB, free: 29.62 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03418/3.222, allocations: 1.038 MB / 2.439 GB, free: 29.62 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.02916/3.251, allocations: 11.3 MB / 2.45 GB, free: 29.46 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.07227/3.323, allocations: 29.83 MB / 2.48 GB, free: 27.54 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.03622/3.36, allocations: 17.45 MB / 2.497 GB, free: 21.41 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.05754/3.417, allocations: 56.74 MB / 2.552 GB, free: 104 kB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03251/3.45, allocations: 22.14 MB / 2.574 GB, free: 10.07 MB / 1.389 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04758/3.497, allocations: 24.82 MB / 2.598 GB, free: 2.703 MB / 1.404 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02651/3.524, allocations: 18.16 MB / 2.616 GB, free: 1.863 MB / 1.42 GB Notification: Performance of NFPackage.collectConstants: time 0.005781/3.53, allocations: 2.066 MB / 2.618 GB, free: 15.79 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03671/3.566, allocations: 17.96 MB / 2.635 GB, free: 14.54 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.006426/3.573, allocations: 4.78 MB / 2.64 GB, free: 9.824 MB / 1.451 GB Notification: Performance of NFVerifyModel.verify: time 0.01744/3.59, allocations: 10.92 MB / 2.651 GB, free: 14.93 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.05412/3.644, allocations: 41.26 MB / 2.691 GB, free: 6.949 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/3.644, allocations: 3.938 kB / 2.691 GB, free: 6.945 MB / 1.498 GB Notification: Performance of FrontEnd: time 1.262e-06/3.644, allocations: 0 / 2.691 GB, free: 6.945 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.0007971/3.645, allocations: 4 kB / 2.691 GB, free: 6.941 MB / 1.498 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.03653/3.682, allocations: 20.49 MB / 2.711 GB, free: 2.5 MB / 1.514 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/3.682, allocations: 12.03 kB / 2.711 GB, free: 2.488 MB / 1.514 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002622/3.685, allocations: 1.576 MB / 2.712 GB, free: 0.9023 MB / 1.514 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005536/3.69, allocations: 2.194 MB / 2.715 GB, free: 14.68 MB / 1.529 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02497/3.715, allocations: 17.4 MB / 2.732 GB, free: 13.62 MB / 1.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006274/3.716, allocations: 0.9509 MB / 2.732 GB, free: 12.66 MB / 1.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/3.717, allocations: 1.257 MB / 2.734 GB, free: 11.41 MB / 1.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/3.739, allocations: 13.97 MB / 2.747 GB, free: 12.75 MB / 1.561 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002187/3.739, allocations: 35.62 kB / 2.747 GB, free: 12.72 MB / 1.561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009355/3.74, allocations: 0.5142 MB / 2.748 GB, free: 12.21 MB / 1.561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002268/3.74, allocations: 339.9 kB / 2.748 GB, free: 11.88 MB / 1.561 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/3.755, allocations: 9.706 MB / 2.758 GB, free: 2.203 MB / 1.561 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.06756/3.822, allocations: 70.59 MB / 2.827 GB, free: 8.48 MB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006205/3.829, allocations: 4.573 MB / 2.831 GB, free: 3.668 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/3.832, allocations: 2.423 MB / 2.833 GB, free: 1.168 MB / 1.639 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3934/4.225, allocations: 51.48 MB / 2.884 GB, free: 0.969 GB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/4.225, allocations: 127.6 kB / 2.884 GB, free: 0.969 GB / 1.67 GB Notification: Performance of pre-optimization done (n=412): time 6.643e-06/4.225, allocations: 0 / 2.884 GB, free: 0.969 GB / 1.67 GB Notification: Performance of matching and sorting (n=412): time 0.01276/4.238, allocations: 6.95 MB / 2.891 GB, free: 0.9689 GB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/4.238, allocations: 0.7885 MB / 2.891 GB, free: 0.968 GB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02299/4.261, allocations: 16.03 MB / 2.907 GB, free: 0.9628 GB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009174/4.262, allocations: 143.9 kB / 2.907 GB, free: 0.9627 GB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.005308/4.267, allocations: 8.312 MB / 2.915 GB, free: 0.9576 GB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/4.269, allocations: 1.45 MB / 2.917 GB, free: 0.9565 GB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/4.27, allocations: 1.389 MB / 2.918 GB, free: 0.9559 GB / 1.67 GB Notification: Performance of setup shared object (initialization): time 3.181e-05/4.27, allocations: 301.1 kB / 2.918 GB, free: 0.9556 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/4.273, allocations: 1.986 MB / 2.92 GB, free: 0.9548 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00384/4.276, allocations: 4.778 MB / 2.925 GB, free: 0.9509 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00554/4.282, allocations: 6.425 MB / 2.931 GB, free: 0.9465 GB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.61e-05/4.282, allocations: 23.41 kB / 2.931 GB, free: 0.9465 GB / 1.67 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01081/4.293, allocations: 7.778 MB / 2.939 GB, free: 0.9432 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/4.293, allocations: 39.56 kB / 2.939 GB, free: 0.9432 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/4.293, allocations: 63.38 kB / 2.939 GB, free: 0.9432 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-05/4.293, allocations: 98.94 kB / 2.939 GB, free: 0.9432 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/4.296, allocations: 1.323 MB / 2.94 GB, free: 0.9431 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.55e-05/4.296, allocations: 141.9 kB / 2.94 GB, free: 0.9431 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008992/4.305, allocations: 1.714 MB / 2.942 GB, free: 0.9423 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004677/4.306, allocations: 354.2 kB / 2.942 GB, free: 0.9423 GB / 1.67 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 775 * 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.004752/4.311, allocations: 3.397 MB / 2.946 GB, free: 0.9403 GB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002881/4.313, allocations: 1.614 MB / 2.947 GB, free: 0.9395 GB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00906/4.323, allocations: 7.549 MB / 2.955 GB, free: 0.9366 GB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.566e-05/4.323, allocations: 85.77 kB / 2.955 GB, free: 0.9366 GB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/4.323, allocations: 8.688 kB / 2.955 GB, free: 0.9366 GB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002836/4.325, allocations: 3.829 MB / 2.959 GB, free: 0.934 GB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03135/4.357, allocations: 28.4 MB / 2.986 GB, free: 0.9165 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.374e-05/4.357, allocations: 33.31 kB / 2.986 GB, free: 0.9165 GB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/4.359, allocations: 0.7773 MB / 2.987 GB, free: 0.9163 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.326e-05/4.359, allocations: 53.53 kB / 2.987 GB, free: 0.9163 GB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002551/4.359, allocations: 150.4 kB / 2.987 GB, free: 0.9163 GB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.604e-05/4.36, allocations: 69.47 kB / 2.987 GB, free: 0.9162 GB / 1.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-05/4.36, allocations: 51.66 kB / 2.987 GB, free: 0.9162 GB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/4.371, allocations: 11.92 MB / 2.999 GB, free: 0.9083 GB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004606/4.375, allocations: 2.811 MB / 3.002 GB, free: 0.9061 GB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002421/4.378, allocations: 157.4 kB / 3.002 GB, free: 0.906 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0069/4.385, allocations: 0.5418 MB / 3.002 GB, free: 0.9058 GB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/4.385, allocations: 410.7 kB / 3.003 GB, free: 0.9055 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003804/4.385, allocations: 259.8 kB / 3.003 GB, free: 0.9053 GB / 1.67 GB Notification: Performance of sorting global known variables: time 0.01486/4.4, allocations: 11.43 MB / 3.014 GB, free: 0.8942 GB / 1.67 GB Notification: Performance of sort global known variables: time 1.3e-07/4.4, allocations: 0 / 3.014 GB, free: 0.8942 GB / 1.67 GB Notification: Performance of remove unused functions: time 0.01246/4.413, allocations: 5.231 MB / 3.019 GB, free: 0.8893 GB / 1.67 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.01923/4.432, allocations: 16.75 MB / 3.036 GB, free: 0.8734 GB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.007061/4.439, allocations: 5.703 MB / 3.041 GB, free: 0.8679 GB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/4.439, allocations: 8 kB / 3.041 GB, free: 0.8679 GB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/4.442, allocations: 2.587 MB / 3.044 GB, free: 0.8654 GB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0368/4.478, allocations: 10.1 MB / 3.054 GB, free: 0.8568 GB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3999/4.878, allocations: 268.3 MB / 3.316 GB, free: 0.5756 GB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006367/4.885, allocations: 7.438 MB / 3.323 GB, free: 0.5683 GB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.01037/4.895, allocations: 3.131 MB / 3.326 GB, free: 0.5655 GB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006481/4.902, allocations: 7.818 MB / 3.334 GB, free: 0.5578 GB / 1.67 GB Notification: Performance of SimCode: time 1.012e-06/4.902, allocations: 0 / 3.334 GB, free: 0.5578 GB / 1.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.826/8.728, allocations: 499.6 MB / 3.822 GB, free: 73.16 MB / 1.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/8.728, allocations: 277.6 kB / 3.822 GB, free: 72.77 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/23.89, allocations: 0 / 3.822 GB, free: 72.77 MB / 1.67 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)