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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001161/0.001161, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.317/2.317, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 60.14 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4843, allocations: 151.6 MB / 1.017 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1665/0.6508, allocations: 187.7 MB / 1.2 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0317/0.6826, allocations: 26.92 MB / 1.226 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.685, allocations: 51.69 kB / 1.226 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009826/0.6949, allocations: 4.66 MB / 1.231 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00839/0.7033, allocations: 3.443 MB / 1.234 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004258/0.7075, allocations: 1.878 MB / 1.236 GB, free: 1.473 MB / 0.9825 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.009933/0.7175, allocations: 8.887 MB / 1.245 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.7192, allocations: 1.323 MB / 1.246 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.7222, allocations: 1.84 MB / 1.248 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.7238, allocations: 1.385 MB / 1.249 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.724, allocations: 88 kB / 1.249 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.456/1.18, allocations: 4.389 MB / 1.254 GB, free: 17.67 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009485/1.181, allocations: 0.5602 MB / 1.254 GB, free: 17.67 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001524/1.182, allocations: 1.081 MB / 1.255 GB, free: 17.67 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008896/1.191, allocations: 5.683 MB / 1.261 GB, free: 17.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.191, allocations: 0 / 1.261 GB, free: 17.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.62e-07/1.191, allocations: 0 / 1.261 GB, free: 17.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.484e-05/1.191, allocations: 1.75 kB / 1.261 GB, free: 17.57 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.006393/1.198, allocations: 2.801 MB / 1.264 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.198, allocations: 13.58 kB / 1.264 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/1.198, allocations: 158.4 kB / 1.264 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004155/1.202, allocations: 0.6493 MB / 1.264 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004618/1.207, allocations: 2.798 MB / 1.267 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/1.207, allocations: 91.59 kB / 1.267 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/1.207, allocations: 112.4 kB / 1.267 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/1.21, allocations: 1.341 MB / 1.269 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/1.21, allocations: 4.031 kB / 1.269 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/1.21, allocations: 49.84 kB / 1.269 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/1.21, allocations: 39.41 kB / 1.269 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/1.213, allocations: 1.143 MB / 1.27 GB, free: 15.42 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.006806/1.219, allocations: 6.625 MB / 1.276 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/1.221, allocations: 0.8051 MB / 1.277 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/1.222, allocations: 400.8 kB / 1.277 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006255/1.228, allocations: 2.806 MB / 1.28 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009227/1.229, allocations: 0.5021 MB / 1.281 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007123/1.23, allocations: 103.1 kB / 1.281 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=71): time 2.003e-06/1.23, allocations: 0 / 1.281 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.04334/1.273, allocations: 18.5 MB / 1.299 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.273, allocations: 166.2 kB / 1.299 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/1.275, allocations: 1.963 MB / 1.301 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/1.275, allocations: 45.3 kB / 1.301 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005495/1.276, allocations: 0.8597 MB / 1.302 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/1.276, allocations: 306.5 kB / 1.302 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/1.277, allocations: 345.6 kB / 1.302 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.094e-05/1.277, allocations: 301.1 kB / 1.303 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/1.278, allocations: 0.6478 MB / 1.303 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/1.279, allocations: 1.056 MB / 1.304 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/1.281, allocations: 1.622 MB / 1.306 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.281, allocations: 4.719 kB / 1.306 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003698/1.285, allocations: 2.106 MB / 1.308 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.285, allocations: 14.95 kB / 1.308 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.285, allocations: 10.19 kB / 1.308 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007065/1.286, allocations: 219.1 kB / 1.308 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.287, allocations: 313.9 kB / 1.309 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/1.29, allocations: 3.851 MB / 1.312 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.292, allocations: 157.1 kB / 1.312 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.292, allocations: 65.91 kB / 1.312 GB, free: 3.152 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.0008541/1.293, allocations: 0.5665 MB / 1.313 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/1.294, allocations: 190 kB / 1.313 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/1.297, allocations: 1.508 MB / 1.315 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.297, allocations: 8.938 kB / 1.315 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.297, allocations: 8.75 kB / 1.315 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002238/1.299, allocations: 1.274 MB / 1.316 GB, free: 2.363 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 postOpt removeSimpleEquations (simulation): time 0.02061/1.32, allocations: 9.285 MB / 1.325 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.32, allocations: 6.469 kB / 1.325 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/1.321, allocations: 182.2 kB / 1.325 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/1.321, allocations: 165.9 kB / 1.325 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/1.321, allocations: 32.81 kB / 1.325 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/1.324, allocations: 2.153 MB / 1.327 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.324, allocations: 8.375 kB / 1.328 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/1.327, allocations: 1.912 MB / 1.329 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/1.328, allocations: 400.7 kB / 1.33 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/1.328, allocations: 29.17 kB / 1.33 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.33, allocations: 125.4 kB / 1.33 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.33, allocations: 84.42 kB / 1.33 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/1.33, allocations: 40.91 kB / 1.33 GB, free: 14.04 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001676/1.332, allocations: 1.359 MB / 1.331 GB, free: 13.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.332, allocations: 0 / 1.331 GB, free: 13.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005143/1.337, allocations: 1.371 MB / 1.333 GB, free: 13.83 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (84): * Single equations (assignments): 81 * 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.0102/1.347, allocations: 3.684 MB / 1.336 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003227/1.35, allocations: 1.65 MB / 1.338 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.35, allocations: 0 / 1.338 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.352, allocations: 0.6423 MB / 1.339 GB, free: 12.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/1.355, allocations: 0.9064 MB / 1.339 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04563/1.401, allocations: 17.5 MB / 1.357 GB, free: 3.707 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.402, allocations: 1.497 MB / 1.358 GB, free: 2.539 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001842/1.404, allocations: 408 kB / 1.358 GB, free: 2.219 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009381/1.405, allocations: 0.7974 MB / 1.359 GB, free: 2.078 MB / 1.014 GB Notification: Performance of SimCode: time 1.543e-06/1.405, allocations: 4 kB / 1.359 GB, free: 2.074 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/1.52, allocations: 85.45 MB / 1.443 GB, free: 14.5 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/1.52, allocations: 303.5 kB / 1.443 GB, free: 14.12 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.788/5.308, allocations: 0 / 1.443 GB, free: 14.12 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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat does not exist to compare? outputFormat=mat