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.001229/0.00123, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00116/0.00116, allocations: 190 kB / 16.25 MB, free: 6.633 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.2/1.2, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.26/2.26, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.5261, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1714/0.6975, allocations: 187.6 MB / 1.2 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02989/0.7274, allocations: 26.05 MB / 1.226 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.7295, allocations: 55.69 kB / 1.226 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008731/0.7383, allocations: 4.859 MB / 1.23 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007883/0.7462, allocations: 3.558 MB / 1.234 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00414/0.7503, allocations: 1.94 MB / 1.236 GB, free: 1.902 MB / 0.9825 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.845688257445312e-05}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.008808/0.7591, allocations: 7.705 MB / 1.243 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.7612, allocations: 1.59 MB / 1.245 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.7652, allocations: 2.172 MB / 1.247 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.7671, allocations: 1.436 MB / 1.248 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003657/0.7675, allocations: 200 kB / 1.249 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007145/0.7746, allocations: 4.564 MB / 1.253 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.466/1.241, allocations: 0.6668 MB / 1.254 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/1.242, allocations: 1.21 MB / 1.255 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009119/1.251, allocations: 5.762 MB / 1.26 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.251, allocations: 0 / 1.26 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.251, allocations: 1.375 kB / 1.26 GB, free: 18.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.152e-05/1.252, allocations: 0 / 1.26 GB, free: 18.45 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.006349/1.258, allocations: 2.805 MB / 1.263 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.258, allocations: 13.73 kB / 1.263 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/1.258, allocations: 163.5 kB / 1.263 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/1.262, allocations: 0.6437 MB / 1.264 GB, free: 16.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/1.267, allocations: 2.794 MB / 1.267 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/1.267, allocations: 92.16 kB / 1.267 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/1.267, allocations: 111.8 kB / 1.267 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/1.27, allocations: 1.343 MB / 1.268 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/1.27, allocations: 5 kB / 1.268 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/1.27, allocations: 50.8 kB / 1.268 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.1e-05/1.27, allocations: 39.5 kB / 1.268 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/1.273, allocations: 1.144 MB / 1.269 GB, free: 16.26 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.007205/1.28, allocations: 6.621 MB / 1.276 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/1.282, allocations: 0.8104 MB / 1.277 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/1.282, allocations: 403.7 kB / 1.277 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00661/1.289, allocations: 2.795 MB / 1.28 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009516/1.29, allocations: 0.5042 MB / 1.28 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009466/1.291, allocations: 101.2 kB / 1.28 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=71): time 2.695e-06/1.291, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.04456/1.336, allocations: 18.54 MB / 1.298 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.336, allocations: 163.7 kB / 1.299 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/1.338, allocations: 1.962 MB / 1.301 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.639e-05/1.338, allocations: 51.92 kB / 1.301 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005322/1.338, allocations: 0.8534 MB / 1.301 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/1.339, allocations: 307.3 kB / 1.302 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/1.339, allocations: 345.4 kB / 1.302 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.195e-05/1.339, allocations: 301.1 kB / 1.302 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/1.34, allocations: 0.6512 MB / 1.303 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/1.341, allocations: 1.06 MB / 1.304 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/1.343, allocations: 1.63 MB / 1.306 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.343, allocations: 4.297 kB / 1.306 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003677/1.347, allocations: 2.119 MB / 1.308 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.347, allocations: 7.688 kB / 1.308 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.347, allocations: 10 kB / 1.308 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/1.348, allocations: 222.4 kB / 1.308 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/1.349, allocations: 319.4 kB / 1.308 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/1.353, allocations: 4.24 MB / 1.312 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/1.354, allocations: 152.6 kB / 1.313 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/1.354, allocations: 66.47 kB / 1.313 GB, free: 4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.0006959/1.355, allocations: 0.5642 MB / 1.313 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/1.356, allocations: 190.1 kB / 1.313 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/1.359, allocations: 1.535 MB / 1.315 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/1.359, allocations: 11.28 kB / 1.315 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.359, allocations: 1.375 kB / 1.315 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002321/1.361, allocations: 1.292 MB / 1.316 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/1.381, allocations: 9.266 MB / 1.325 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/1.381, allocations: 5.438 kB / 1.325 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/1.382, allocations: 187.4 kB / 1.325 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/1.382, allocations: 165 kB / 1.325 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/1.382, allocations: 29.12 kB / 1.325 GB, free: 16.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/1.385, allocations: 2.381 MB / 1.328 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.385, allocations: 8.188 kB / 1.328 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/1.388, allocations: 1.935 MB / 1.33 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006002/1.389, allocations: 398.6 kB / 1.33 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/1.389, allocations: 25.86 kB / 1.33 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.39, allocations: 125.3 kB / 1.33 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.391, allocations: 80.75 kB / 1.33 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/1.391, allocations: 39.38 kB / 1.33 GB, free: 14.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001478/1.392, allocations: 1.358 MB / 1.332 GB, free: 14.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.392, allocations: 0 / 1.332 GB, free: 14.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004699/1.397, allocations: 1.38 MB / 1.333 GB, free: 14.55 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 (bui.IntEHea.y,bui.pumCNR.port_a.h_outflow,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 (86): * Single equations (assignments): 83 * 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.008935/1.406, allocations: 3.686 MB / 1.337 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003245/1.409, allocations: 1.723 MB / 1.338 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.409, allocations: 0 / 1.338 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/1.41, allocations: 0.6613 MB / 1.339 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/1.414, allocations: 0.9539 MB / 1.34 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04457/1.458, allocations: 17.54 MB / 1.357 GB, free: 4.531 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.459, allocations: 1.505 MB / 1.358 GB, free: 3.363 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001892/1.461, allocations: 410 kB / 1.359 GB, free: 3.039 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.462, allocations: 0.7981 MB / 1.36 GB, free: 2.898 MB / 1.014 GB Notification: Performance of SimCode: time 9.52e-07/1.462, allocations: 4 kB / 1.36 GB, free: 2.895 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/1.58, allocations: 86.94 MB / 1.445 GB, free: 14.19 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/1.581, allocations: 303.8 kB / 1.445 GB, free: 13.81 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.772/5.353, allocations: 0 / 1.445 GB, free: 13.81 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)