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.001293/0.001293, allocations: 108 kB / 15.61 MB, free: 152 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.00133/0.00133, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 278.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 98.22 kB / 0.5953 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1383, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005786/0.1441, allocations: 4.416 MB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4152/0.5594, allocations: 150.6 MB / 0.8316 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.5601, allocations: 19.5 kB / 0.8316 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.5605, allocations: 178.6 kB / 0.8318 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.5618, allocations: 0.5088 MB / 0.8323 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.5634, allocations: 0.8237 MB / 0.8331 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.5645, allocations: 1.337 MB / 0.8344 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000683/0.5652, allocations: 0.563 MB / 0.835 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005094/0.5657, allocations: 471.1 kB / 0.8354 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.5662, allocations: 498.4 kB / 0.8359 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.5663, allocations: 110.1 kB / 0.836 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.5677, allocations: 0.8476 MB / 0.8368 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.5679, allocations: 283.9 kB / 0.8371 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.5682, allocations: 0.5209 MB / 0.8376 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.5698, allocations: 1.741 MB / 0.8393 GB, free: 292 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5698, allocations: 0 / 0.8393 GB, free: 292 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5698, allocations: 0 / 0.8393 GB, free: 292 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.5699, allocations: 0 / 0.8393 GB, free: 292 kB / 0.5606 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.002358/0.5722, allocations: 1.453 MB / 0.8407 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.5723, allocations: 9.938 kB / 0.8407 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.5724, allocations: 125.4 kB / 0.8409 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.5736, allocations: 202.1 kB / 0.841 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009224/0.5745, allocations: 0.7546 MB / 0.8418 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.5745, allocations: 52.88 kB / 0.8418 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/0.5746, allocations: 71.75 kB / 0.8419 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.5762, allocations: 0.8964 MB / 0.8428 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5762, allocations: 4 kB / 0.8428 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.5763, allocations: 32.72 kB / 0.8428 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.5764, allocations: 18.25 kB / 0.8428 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.5783, allocations: 1.132 MB / 0.8439 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.5818, allocations: 2.501 MB / 0.8464 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.5834, allocations: 0.8384 MB / 0.8472 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/0.5841, allocations: 333.3 kB / 0.8475 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.5842, allocations: 35.48 kB / 0.8475 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.5852, allocations: 0.5323 MB / 0.8481 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.214e-06/0.5852, allocations: 0 / 0.8481 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003508/0.5887, allocations: 1.291 MB / 0.8493 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.5888, allocations: 190.8 kB / 0.8495 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/0.5896, allocations: 0.6408 MB / 0.8501 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/0.5896, allocations: 41.23 kB / 0.8502 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.5899, allocations: 381.6 kB / 0.8505 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.5901, allocations: 259.8 kB / 0.8508 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.5904, allocations: 157.7 kB / 0.8509 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5905, allocations: 390.6 kB / 0.8513 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/0.5912, allocations: 281 kB / 0.8516 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/0.592, allocations: 395.6 kB / 0.852 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.5933, allocations: 0.6431 MB / 0.8526 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5934, allocations: 0 / 0.8526 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002174/0.5955, allocations: 0.8693 MB / 0.8534 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.5956, allocations: 9.219 kB / 0.8534 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.5956, allocations: 4.125 kB / 0.8534 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.5962, allocations: 81.58 kB / 0.8535 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.5969, allocations: 173 kB / 0.8537 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.599, allocations: 1.644 MB / 0.8553 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007331/0.5997, allocations: 93.34 kB / 0.8554 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.5998, allocations: 38.59 kB / 0.8554 GB, free: 5.527 MB / 0.5762 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.000349/0.6001, allocations: 269.3 kB / 0.8557 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.6003, allocations: 90.94 kB / 0.8558 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/0.6033, allocations: 1.202 MB / 0.8569 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.6033, allocations: 10.09 kB / 0.8569 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6033, allocations: 0 / 0.8569 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.6033, allocations: 7.969 kB / 0.857 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.6044, allocations: 0.927 MB / 0.8579 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.6044, allocations: 0 / 0.8579 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/0.6051, allocations: 163.1 kB / 0.858 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004591/0.6056, allocations: 74.88 kB / 0.8581 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/0.6057, allocations: 33.34 kB / 0.8581 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.6075, allocations: 1.666 MB / 0.8597 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6075, allocations: 0 / 0.8597 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.6097, allocations: 1.007 MB / 0.8607 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.6101, allocations: 285.8 kB / 0.861 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.6102, allocations: 25.19 kB / 0.861 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006813/0.6109, allocations: 67.17 kB / 0.8611 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.6111, allocations: 80.11 kB / 0.8612 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/0.6111, allocations: 41.16 kB / 0.8612 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000526/0.6117, allocations: 467.5 kB / 0.8616 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6117, allocations: 0 / 0.8616 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007942/0.6125, allocations: 307 kB / 0.8619 GB, free: 0.9375 MB / 0.5762 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.003671/0.6162, allocations: 2.078 MB / 0.864 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002557/0.6187, allocations: 1.084 MB / 0.865 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6187, allocations: 0 / 0.865 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6198, allocations: 0.5601 MB / 0.8656 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6209, allocations: 300.2 kB / 0.8659 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.6327, allocations: 6.7 MB / 0.8724 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.6333, allocations: 1.017 MB / 0.8734 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009525/0.6342, allocations: 279.2 kB / 0.8737 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005372/0.6348, allocations: 378.3 kB / 0.874 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of SimCode: time 2.084e-06/0.6348, allocations: 0 / 0.874 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/0.6836, allocations: 21.94 MB / 0.8954 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.56, allocations: 16.16 kB / 0.8955 GB, free: 4.238 MB / 0.6075 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)