Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",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.001162/0.001162, 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.001221/0.001221, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.91 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.618/0.6194, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1978/0.8173, allocations: 189.9 MB / 1.203 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03345/0.8508, allocations: 26.06 MB / 1.228 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.8535, allocations: 59.69 kB / 1.228 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009705/0.8633, allocations: 4.924 MB / 1.233 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009712/0.873, allocations: 3.862 MB / 1.237 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.8782, allocations: 2.123 MB / 1.239 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009668/0.8879, allocations: 7.396 MB / 1.246 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.8904, allocations: 1.547 MB / 1.248 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005113/0.8956, allocations: 2.318 MB / 1.25 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.8976, allocations: 1.358 MB / 1.251 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.8979, allocations: 196 kB / 1.252 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5982/1.496, allocations: 4.528 MB / 1.256 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001104/1.497, allocations: 0.6479 MB / 1.257 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002144/1.499, allocations: 1.205 MB / 1.258 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/1.512, allocations: 5.707 MB / 1.263 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.512, allocations: 2.172 kB / 1.263 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.136e-06/1.512, allocations: 0 / 1.263 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.268e-05/1.512, allocations: 2.797 kB / 1.263 GB, free: 17.04 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.008171/1.52, allocations: 2.79 MB / 1.266 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.52, allocations: 14.67 kB / 1.266 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002359/1.52, allocations: 161.2 kB / 1.266 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004695/1.525, allocations: 0.6455 MB / 1.267 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005554/1.53, allocations: 2.777 MB / 1.27 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/1.531, allocations: 86.05 kB / 1.27 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/1.531, allocations: 119.5 kB / 1.27 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/1.533, allocations: 1.333 MB / 1.271 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/1.534, allocations: 8.578 kB / 1.271 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.534, allocations: 51.66 kB / 1.271 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/1.534, allocations: 39.06 kB / 1.271 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/1.536, allocations: 1.121 MB / 1.272 GB, free: 14.83 MB / 0.9981 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.008547/1.545, allocations: 6.807 MB / 1.279 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/1.547, allocations: 0.8625 MB / 1.28 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008738/1.548, allocations: 394.2 kB / 1.28 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0076/1.555, allocations: 2.798 MB / 1.283 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/1.557, allocations: 0.4913 MB / 1.283 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=69): time 5.711e-06/1.557, allocations: 0 / 1.283 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.05564/1.612, allocations: 18.75 MB / 1.302 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/1.612, allocations: 170.6 kB / 1.302 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/1.615, allocations: 1.986 MB / 1.304 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/1.615, allocations: 42.92 kB / 1.304 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008118/1.616, allocations: 0.8638 MB / 1.305 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/1.616, allocations: 297.5 kB / 1.305 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004609/1.617, allocations: 344.6 kB / 1.305 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.45e-05/1.617, allocations: 303.5 kB / 1.306 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/1.618, allocations: 0.6509 MB / 1.306 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/1.619, allocations: 1.063 MB / 1.307 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/1.622, allocations: 1.624 MB / 1.309 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.622, allocations: 0 / 1.309 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004183/1.626, allocations: 2.114 MB / 1.311 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.626, allocations: 10.56 kB / 1.311 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/1.626, allocations: 14.31 kB / 1.311 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000716/1.627, allocations: 220.7 kB / 1.311 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.628, allocations: 319.5 kB / 1.311 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/1.632, allocations: 4.15 MB / 1.315 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/1.634, allocations: 110 kB / 1.316 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.634, allocations: 69.03 kB / 1.316 GB, free: 2.121 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 158 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008884/1.635, allocations: 0.5697 MB / 1.316 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005589/1.636, allocations: 196.1 kB / 1.316 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/1.639, allocations: 1.486 MB / 1.318 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.639, allocations: 8.406 kB / 1.318 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.639, allocations: 4.031 kB / 1.318 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002476/1.641, allocations: 1.263 MB / 1.319 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/1.666, allocations: 9.228 MB / 1.328 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.666, allocations: 7.344 kB / 1.328 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/1.667, allocations: 180.9 kB / 1.328 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/1.668, allocations: 163 kB / 1.328 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.769e-05/1.668, allocations: 33.41 kB / 1.328 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/1.671, allocations: 2.368 MB / 1.331 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/1.671, allocations: 12.41 kB / 1.331 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/1.674, allocations: 1.888 MB / 1.333 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008268/1.675, allocations: 392.7 kB / 1.333 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000606/1.676, allocations: 31.23 kB / 1.333 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.677, allocations: 81.97 kB / 1.333 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/1.678, allocations: 75.86 kB / 1.333 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/1.678, allocations: 47.02 kB / 1.333 GB, free: 12.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002156/1.68, allocations: 1.371 MB / 1.335 GB, free: 12.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/1.68, allocations: 0 / 1.335 GB, free: 12.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00634/1.686, allocations: 1.369 MB / 1.336 GB, free: 12.67 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.filter.s[1],bui.pumCNR.filter.s[2],bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01344/1.7, allocations: 3.64 MB / 1.339 GB, free: 11.44 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003875/1.703, allocations: 1.693 MB / 1.341 GB, free: 11.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/1.704, allocations: 4.25 kB / 1.341 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/1.705, allocations: 0.6367 MB / 1.342 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004391/1.709, allocations: 0.9559 MB / 1.343 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03025/1.74, allocations: 16.98 MB / 1.359 GB, free: 1.543 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/1.741, allocations: 1.495 MB / 1.361 GB, free: 388 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002049/1.743, allocations: 405.7 kB / 1.361 GB, free: 64 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/1.744, allocations: 0.7879 MB / 1.362 GB, free: 15.93 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/1.744, allocations: 0 / 1.362 GB, free: 15.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/1.889, allocations: 87.01 MB / 1.447 GB, free: 10.37 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/18.85, allocations: 8.984 kB / 1.447 GB, free: 10.37 MB / 1.107 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)