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.007202/0.007203, allocations: 99.5 kB / 15.73 MB, free: 6.055 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.002161/0.002161, allocations: 193.6 kB / 16.68 MB, free: 5.973 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.203/1.203, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.158/2.158, allocations: 437.1 MB / 0.7106 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 68.12 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5618, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1786/0.7404, allocations: 189.9 MB / 1.352 GB, free: 5.145 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02893/0.7694, allocations: 26.06 MB / 1.377 GB, free: 11.01 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.7708, allocations: 59.69 kB / 1.377 GB, free: 10.95 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003897/0.7747, allocations: 1.974 MB / 1.379 GB, free: 8.973 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007785/0.7825, allocations: 4.319 MB / 1.383 GB, free: 4.641 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.7866, allocations: 2.4 MB / 1.386 GB, free: 2.246 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008381/0.795, allocations: 7.701 MB / 1.393 GB, free: 10.54 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.7967, allocations: 1.578 MB / 1.395 GB, free: 8.914 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003671/0.8004, allocations: 2.343 MB / 1.397 GB, free: 6.566 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.802, allocations: 1.428 MB / 1.398 GB, free: 5.133 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.8023, allocations: 208 kB / 1.399 GB, free: 4.93 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007217/0.8095, allocations: 4.704 MB / 1.403 GB, free: 224 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.8101, allocations: 0.6776 MB / 1.404 GB, free: 15.54 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.8111, allocations: 1.221 MB / 1.405 GB, free: 14.31 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006196/0.8173, allocations: 5.881 MB / 1.411 GB, free: 8.414 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8173, allocations: 8 kB / 1.411 GB, free: 8.406 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8173, allocations: 4 kB / 1.411 GB, free: 8.402 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.8174, allocations: 0 / 1.411 GB, free: 8.402 MB / 1.139 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.004405/0.8218, allocations: 2.926 MB / 1.414 GB, free: 5.402 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.8218, allocations: 12.92 kB / 1.414 GB, free: 5.391 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.822, allocations: 160.7 kB / 1.414 GB, free: 5.223 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/0.8258, allocations: 0.6658 MB / 1.414 GB, free: 4.555 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004254/0.8301, allocations: 2.893 MB / 1.417 GB, free: 1.613 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/0.8302, allocations: 90.09 kB / 1.417 GB, free: 1.523 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.8303, allocations: 112 kB / 1.417 GB, free: 1.414 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.8326, allocations: 1.34 MB / 1.419 GB, free: 15.99 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.8326, allocations: 7.875 kB / 1.419 GB, free: 15.98 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-05/0.8328, allocations: 44 kB / 1.419 GB, free: 15.94 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.8328, allocations: 38 kB / 1.419 GB, free: 15.9 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.8352, allocations: 1.132 MB / 1.42 GB, free: 14.77 MB / 1.154 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.007385/0.8426, allocations: 6.842 MB / 1.427 GB, free: 7.555 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.8443, allocations: 0.7953 MB / 1.427 GB, free: 6.73 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/0.8451, allocations: 388.3 kB / 1.428 GB, free: 6.344 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006505/0.8516, allocations: 2.837 MB / 1.431 GB, free: 3.266 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009188/0.8525, allocations: 0.5014 MB / 1.431 GB, free: 2.742 MB / 1.154 GB Notification: Performance of pre-optimization done (n=69): time 1.704e-06/0.8525, allocations: 3.938 kB / 1.431 GB, free: 2.738 MB / 1.154 GB Notification: Performance of matching and sorting (n=83): time 0.0466/0.8992, allocations: 18.96 MB / 1.45 GB, free: 15.69 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.8992, allocations: 162.9 kB / 1.45 GB, free: 15.49 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.9017, allocations: 2.021 MB / 1.452 GB, free: 13.43 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.261e-05/0.9018, allocations: 53.77 kB / 1.452 GB, free: 13.37 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007128/0.9025, allocations: 0.8826 MB / 1.453 GB, free: 12.48 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.9027, allocations: 305.4 kB / 1.453 GB, free: 12.18 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/0.9032, allocations: 343.4 kB / 1.453 GB, free: 11.84 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.9033, allocations: 309.1 kB / 1.454 GB, free: 11.53 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.9045, allocations: 0.6442 MB / 1.454 GB, free: 10.89 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.906, allocations: 1.066 MB / 1.455 GB, free: 9.66 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/0.9085, allocations: 1.637 MB / 1.457 GB, free: 7.875 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.9085, allocations: 4 kB / 1.457 GB, free: 7.871 MB / 1.186 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003967/0.9125, allocations: 2.121 MB / 1.459 GB, free: 5.738 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.9125, allocations: 13.09 kB / 1.459 GB, free: 5.727 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.9125, allocations: 20.39 kB / 1.459 GB, free: 5.707 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006668/0.9132, allocations: 225.5 kB / 1.459 GB, free: 5.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.9143, allocations: 315.5 kB / 1.459 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/0.9187, allocations: 4.148 MB / 1.463 GB, free: 0.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.92, allocations: 108 kB / 1.464 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.9201, allocations: 67.97 kB / 1.464 GB, free: 0.5781 MB / 1.186 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.0006785/0.9208, allocations: 0.5728 MB / 1.464 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/0.9213, allocations: 206.6 kB / 1.464 GB, free: 15.79 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/0.9245, allocations: 1.482 MB / 1.466 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.9245, allocations: 8.188 kB / 1.466 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.9245, allocations: 8 kB / 1.466 GB, free: 14.31 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002411/0.9269, allocations: 1.269 MB / 1.467 GB, free: 12.97 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/0.9481, allocations: 9.323 MB / 1.476 GB, free: 3.301 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.9481, allocations: 4 kB / 1.476 GB, free: 3.297 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007154/0.9489, allocations: 188.4 kB / 1.476 GB, free: 3.113 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.9493, allocations: 160.7 kB / 1.477 GB, free: 2.953 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.779e-05/0.9494, allocations: 35.97 kB / 1.477 GB, free: 2.918 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/0.9523, allocations: 2.385 MB / 1.479 GB, free: 404 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.9523, allocations: 11.88 kB / 1.479 GB, free: 392 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.9559, allocations: 1.894 MB / 1.481 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005035/0.9564, allocations: 419.6 kB / 1.481 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.9566, allocations: 35.92 kB / 1.481 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.9576, allocations: 79.92 kB / 1.481 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.9578, allocations: 68.36 kB / 1.481 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/0.9579, allocations: 43.92 kB / 1.481 GB, free: 13.74 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001792/0.9597, allocations: 1.41 MB / 1.483 GB, free: 12.31 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9597, allocations: 0 / 1.483 GB, free: 12.31 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003037/0.9627, allocations: 1.397 MB / 1.484 GB, free: 10.91 MB / 1.217 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.008871/0.9716, allocations: 3.686 MB / 1.488 GB, free: 7.246 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003026/0.9746, allocations: 1.661 MB / 1.489 GB, free: 5.562 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9746, allocations: 0 / 1.489 GB, free: 5.562 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.976, allocations: 0.6435 MB / 1.49 GB, free: 4.91 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/0.9791, allocations: 0.9579 MB / 1.491 GB, free: 3.969 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/1.002, allocations: 15.89 MB / 1.506 GB, free: 3.418 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/1.003, allocations: 1.498 MB / 1.508 GB, free: 1.887 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001179/1.004, allocations: 410.8 kB / 1.508 GB, free: 1.484 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.005, allocations: 0.7882 MB / 1.509 GB, free: 0.6953 MB / 1.232 GB Notification: Performance of SimCode: time 3.01e-07/1.005, allocations: 0 / 1.509 GB, free: 0.6953 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.714/4.719, allocations: 88.22 MB / 1.595 GB, free: 356.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.12/21.84, allocations: 7.391 kB / 1.595 GB, free: 356.5 MB / 1.279 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=400 --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)