Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.001825/0.001825, 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.001982/0.001982, allocations: 195.7 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002538/0.002538, allocations: 279.2 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 178.6 MB / 0.5073 GB, free: 4.531 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004633/0.004633, allocations: 99.77 kB / 0.6065 GB, free: 24.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1637, allocations: 89.15 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.007092/0.1708, allocations: 4.686 MB / 0.6982 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4329/0.6038, allocations: 150.6 MB / 0.8452 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008413/0.6047, allocations: 15.22 kB / 0.8452 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.6053, allocations: 185.5 kB / 0.8454 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.6071, allocations: 0.531 MB / 0.8459 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.609, allocations: 0.8481 MB / 0.8468 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.6105, allocations: 1.37 MB / 0.8481 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007892/0.6113, allocations: 0.5289 MB / 0.8486 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006595/0.6119, allocations: 473.3 kB / 0.8491 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005941/0.6126, allocations: 495.1 kB / 0.8495 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.6127, allocations: 110.1 kB / 0.8496 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.614, allocations: 0.8512 MB / 0.8505 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.6143, allocations: 288.4 kB / 0.8508 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004686/0.6148, allocations: 0.5307 MB / 0.8513 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.6168, allocations: 1.755 MB / 0.853 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6168, allocations: 1.688 kB / 0.853 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6168, allocations: 0 / 0.853 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.6168, allocations: 0 / 0.853 GB, free: 2.199 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002656/0.6195, allocations: 1.456 MB / 0.8544 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.6195, allocations: 11.75 kB / 0.8544 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.6197, allocations: 122.4 kB / 0.8545 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.6208, allocations: 205.2 kB / 0.8547 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.6219, allocations: 0.7463 MB / 0.8555 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.6219, allocations: 60.84 kB / 0.8555 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.394e-05/0.622, allocations: 71.59 kB / 0.8556 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.6237, allocations: 0.8969 MB / 0.8565 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6237, allocations: 0 / 0.8565 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/0.6238, allocations: 33.59 kB / 0.8565 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.6238, allocations: 18.53 kB / 0.8565 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.6257, allocations: 1.132 MB / 0.8576 GB, free: 15.02 MB / 0.5919 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.003983/0.6297, allocations: 2.608 MB / 0.8602 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.6314, allocations: 0.8315 MB / 0.861 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.6321, allocations: 333 kB / 0.8613 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/0.6322, allocations: 35.88 kB / 0.8613 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.6332, allocations: 0.5323 MB / 0.8618 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.264e-06/0.6332, allocations: 0 / 0.8618 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003617/0.6369, allocations: 1.293 MB / 0.8631 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.637, allocations: 188.5 kB / 0.8633 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007537/0.6378, allocations: 0.6373 MB / 0.8639 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.6378, allocations: 44.3 kB / 0.864 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.6382, allocations: 388.2 kB / 0.8643 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.6384, allocations: 264.5 kB / 0.8646 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.6386, allocations: 154.2 kB / 0.8647 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.6388, allocations: 394.2 kB / 0.8651 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.6395, allocations: 271.9 kB / 0.8654 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/0.6403, allocations: 400.1 kB / 0.8657 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.6417, allocations: 0.649 MB / 0.8664 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6417, allocations: 4 kB / 0.8664 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0022/0.6439, allocations: 0.8695 MB / 0.8672 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.644, allocations: 7.656 kB / 0.8672 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.644, allocations: 0 / 0.8672 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/0.6446, allocations: 86.23 kB / 0.8673 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.6453, allocations: 159.9 kB / 0.8675 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.6476, allocations: 1.658 MB / 0.8691 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.6483, allocations: 94.56 kB / 0.8692 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.6484, allocations: 32.12 kB / 0.8692 GB, free: 6.652 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004234/0.6489, allocations: 263.5 kB / 0.8695 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.649, allocations: 93.75 kB / 0.8696 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/0.6521, allocations: 1.205 MB / 0.8707 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.6521, allocations: 12 kB / 0.8707 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.6521, allocations: 0 / 0.8707 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.6521, allocations: 7.969 kB / 0.8707 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.6533, allocations: 0.9227 MB / 0.8716 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.6533, allocations: 0 / 0.8716 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006861/0.654, allocations: 159.8 kB / 0.8718 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.6544, allocations: 76.78 kB / 0.8719 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.6545, allocations: 23.98 kB / 0.8719 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.6566, allocations: 1.678 MB / 0.8735 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6566, allocations: 3.938 kB / 0.8735 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.6591, allocations: 0.9942 MB / 0.8745 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.6595, allocations: 295.6 kB / 0.8748 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6596, allocations: 16 kB / 0.8748 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006785/0.6603, allocations: 77.8 kB / 0.8749 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.6605, allocations: 76.83 kB / 0.875 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/0.6606, allocations: 39.97 kB / 0.875 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006285/0.6612, allocations: 463 kB / 0.8754 GB, free: 360 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6612, allocations: 0 / 0.8754 GB, free: 360 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009035/0.6621, allocations: 319.4 kB / 0.8757 GB, free: 40 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004538/0.6667, allocations: 2.073 MB / 0.8778 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.6696, allocations: 1.082 MB / 0.8788 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6696, allocations: 4.25 kB / 0.8788 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.6708, allocations: 0.5548 MB / 0.8794 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.672, allocations: 315.3 kB / 0.8797 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.6835, allocations: 6.585 MB / 0.8861 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.6841, allocations: 1.016 MB / 0.8871 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009235/0.6851, allocations: 282.9 kB / 0.8874 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/0.6857, allocations: 383.2 kB / 0.8877 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of SimCode: time 4.3e-07/0.6857, allocations: 3.938 kB / 0.8877 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/0.7436, allocations: 22.23 MB / 0.9094 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.75, allocations: 22.45 kB / 0.9095 GB, free: 13.86 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)