Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_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.001202/0.001202, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001198/0.001199, allocations: 198.2 kB / 16.14 MB, free: 6.574 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.191/1.191, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.384/2.384, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 61.19 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2251, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1559/0.381, allocations: 187.7 MB / 1.236 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4758/0.8569, allocations: 26.91 MB / 1.262 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.859, allocations: 53.34 kB / 1.262 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008465/0.8675, allocations: 4.635 MB / 1.266 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00805/0.8755, allocations: 3.45 MB / 1.27 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.8799, allocations: 1.881 MB / 1.272 GB, free: 1.934 MB / 0.9981 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.01128/0.8912, allocations: 8.884 MB / 1.28 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.8931, allocations: 1.32 MB / 1.282 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.8967, allocations: 1.85 MB / 1.283 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.8983, allocations: 1.384 MB / 1.285 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.8985, allocations: 87.69 kB / 1.285 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008197/0.9067, allocations: 4.386 MB / 1.289 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005835/0.9073, allocations: 0.5659 MB / 1.29 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.9086, allocations: 1.086 MB / 1.291 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006567/0.9151, allocations: 5.672 MB / 1.296 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.9152, allocations: 3.281 kB / 1.296 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.22e-07/0.9152, allocations: 3.219 kB / 1.296 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.506e-05/0.9152, allocations: 0 / 1.296 GB, free: 0.9766 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.004741/0.92, allocations: 2.8 MB / 1.299 GB, free: 15.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.92, allocations: 9.594 kB / 1.299 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.9202, allocations: 166.5 kB / 1.299 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003958/0.9241, allocations: 0.6454 MB / 1.3 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004006/0.9282, allocations: 2.795 MB / 1.303 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.9282, allocations: 88.67 kB / 1.303 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.9284, allocations: 115.7 kB / 1.303 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.9307, allocations: 1.347 MB / 1.304 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.9307, allocations: 6.281 kB / 1.304 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.9308, allocations: 45 kB / 1.304 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.9309, allocations: 39.28 kB / 1.304 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/0.9333, allocations: 1.142 MB / 1.305 GB, free: 14.61 MB / 1.014 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.008256/0.9416, allocations: 6.622 MB / 1.312 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.9434, allocations: 0.8075 MB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006959/0.9441, allocations: 400.9 kB / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006213/0.9503, allocations: 2.803 MB / 1.316 GB, free: 10.08 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000912/0.9512, allocations: 0.5107 MB / 1.316 GB, free: 9.98 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006237/0.9519, allocations: 98.48 kB / 1.316 GB, free: 9.934 MB / 1.014 GB Notification: Performance of pre-optimization done (n=71): time 2.074e-06/0.9519, allocations: 0 / 1.316 GB, free: 9.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.04415/0.996, allocations: 18.51 MB / 1.334 GB, free: 5.887 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.9961, allocations: 164.2 kB / 1.334 GB, free: 5.699 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.9984, allocations: 1.961 MB / 1.336 GB, free: 5.152 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.9985, allocations: 51.08 kB / 1.336 GB, free: 5.117 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006133/0.9991, allocations: 0.86 MB / 1.337 GB, free: 4.742 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.9993, allocations: 308.7 kB / 1.338 GB, free: 4.527 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004105/0.9997, allocations: 331.7 kB / 1.338 GB, free: 4.461 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.9998, allocations: 307.9 kB / 1.338 GB, free: 4.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/1.001, allocations: 0.6547 MB / 1.339 GB, free: 4.066 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/1.002, allocations: 1.058 MB / 1.34 GB, free: 3.535 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/1.005, allocations: 1.624 MB / 1.341 GB, free: 3.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.005, allocations: 2.406 kB / 1.341 GB, free: 3.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003681/1.008, allocations: 2.106 MB / 1.343 GB, free: 2.613 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.008, allocations: 7.969 kB / 1.343 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.008, allocations: 10.66 kB / 1.343 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006847/1.009, allocations: 223.9 kB / 1.344 GB, free: 2.551 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.01, allocations: 321 kB / 1.344 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/1.014, allocations: 3.843 MB / 1.348 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/1.016, allocations: 160.6 kB / 1.348 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.016, allocations: 67.58 kB / 1.348 GB, free: 15.55 MB / 1.029 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.0007018/1.017, allocations: 0.5695 MB / 1.349 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/1.017, allocations: 186.5 kB / 1.349 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/1.02, allocations: 1.506 MB / 1.35 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.02, allocations: 11.75 kB / 1.35 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.02, allocations: 1.938 kB / 1.35 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002318/1.023, allocations: 1.274 MB / 1.351 GB, free: 14.36 MB / 1.029 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.0215/1.044, allocations: 9.28 MB / 1.361 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.044, allocations: 4 kB / 1.361 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/1.045, allocations: 180.8 kB / 1.361 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/1.045, allocations: 158 kB / 1.361 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.699e-05/1.045, allocations: 33.17 kB / 1.361 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002721/1.048, allocations: 2.156 MB / 1.363 GB, free: 4.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/1.048, allocations: 19.03 kB / 1.363 GB, free: 4.742 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003562/1.052, allocations: 1.912 MB / 1.365 GB, free: 3.266 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/1.052, allocations: 403.2 kB / 1.365 GB, free: 2.945 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/1.053, allocations: 31.92 kB / 1.365 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.054, allocations: 121.6 kB / 1.365 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/1.054, allocations: 78.41 kB / 1.365 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/1.054, allocations: 39.61 kB / 1.366 GB, free: 2.727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001795/1.056, allocations: 1.362 MB / 1.367 GB, free: 1.754 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/1.056, allocations: 0 / 1.367 GB, free: 1.754 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004149/1.06, allocations: 1.376 MB / 1.368 GB, free: 452 kB / 1.029 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.01039/1.071, allocations: 3.678 MB / 1.372 GB, free: 13.1 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003213/1.074, allocations: 1.649 MB / 1.373 GB, free: 11.47 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.074, allocations: 1.875 kB / 1.373 GB, free: 11.47 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.075, allocations: 0.6443 MB / 1.374 GB, free: 10.85 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/1.079, allocations: 0.9044 MB / 1.375 GB, free: 9.957 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04033/1.119, allocations: 17.51 MB / 1.392 GB, free: 7.355 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.12, allocations: 1.495 MB / 1.393 GB, free: 5.824 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001701/1.122, allocations: 401 kB / 1.394 GB, free: 5.445 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.123, allocations: 0.7999 MB / 1.395 GB, free: 4.648 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.123, allocations: 0 / 1.395 GB, free: 4.648 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/1.234, allocations: 85.45 MB / 1.478 GB, free: 232 kB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/1.234, allocations: 320.9 kB / 1.478 GB, free: 15.84 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.579/4.813, allocations: 0 / 1.478 GB, free: 15.84 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat does not exist to compare? outputFormat=mat