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.004994/0.004994, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001299/0.001299, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 274.9 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.008/1.008, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 99.83 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1591, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006548/0.1657, allocations: 4.424 MB / 0.7702 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4746/0.6403, allocations: 150.6 MB / 0.9173 GB, free: 7.914 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000639/0.6409, allocations: 17.06 kB / 0.9173 GB, free: 7.898 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005432/0.6415, allocations: 176.5 kB / 0.9174 GB, free: 7.727 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.6432, allocations: 0.5038 MB / 0.9179 GB, free: 7.234 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.6451, allocations: 0.8354 MB / 0.9188 GB, free: 6.426 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.6467, allocations: 1.347 MB / 0.9201 GB, free: 5.074 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008548/0.6476, allocations: 0.5551 MB / 0.9206 GB, free: 4.504 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.6483, allocations: 474.4 kB / 0.9211 GB, free: 4.039 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006453/0.649, allocations: 489.8 kB / 0.9215 GB, free: 3.559 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.6492, allocations: 108 kB / 0.9216 GB, free: 3.453 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.6507, allocations: 0.8739 MB / 0.9225 GB, free: 2.578 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.6511, allocations: 283.1 kB / 0.9228 GB, free: 2.301 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.6516, allocations: 0.5291 MB / 0.9233 GB, free: 1.77 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.6541, allocations: 1.784 MB / 0.925 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6542, allocations: 0 / 0.925 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6542, allocations: 4 kB / 0.925 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.6542, allocations: 4 kB / 0.925 GB, free: 15.98 MB / 0.6856 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.002796/0.657, allocations: 1.487 MB / 0.9265 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.6571, allocations: 11.78 kB / 0.9265 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.6572, allocations: 126.8 kB / 0.9266 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.6584, allocations: 208 kB / 0.9268 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.6597, allocations: 0.7749 MB / 0.9276 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.6598, allocations: 57.98 kB / 0.9276 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.6599, allocations: 76 kB / 0.9277 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.6617, allocations: 0.888 MB / 0.9286 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.6617, allocations: 4 kB / 0.9286 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/0.6618, allocations: 32 kB / 0.9286 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.6618, allocations: 20 kB / 0.9286 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.6639, allocations: 1.132 MB / 0.9297 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.668, allocations: 2.48 MB / 0.9321 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.6698, allocations: 0.8358 MB / 0.933 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007416/0.6706, allocations: 327.4 kB / 0.9333 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-05/0.6707, allocations: 36.59 kB / 0.9333 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.6718, allocations: 0.533 MB / 0.9338 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.885e-06/0.6718, allocations: 0 / 0.9338 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003762/0.6756, allocations: 1.292 MB / 0.9351 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.6757, allocations: 188.6 kB / 0.9353 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.6766, allocations: 0.6412 MB / 0.9359 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.6767, allocations: 37.7 kB / 0.9359 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.677, allocations: 385.1 kB / 0.9363 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.6773, allocations: 285.6 kB / 0.9366 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.6776, allocations: 154.6 kB / 0.9367 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.6778, allocations: 390.7 kB / 0.9371 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007076/0.6785, allocations: 283 kB / 0.9374 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008361/0.6793, allocations: 391.4 kB / 0.9377 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.6809, allocations: 0.6471 MB / 0.9384 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6809, allocations: 0 / 0.9384 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002376/0.6833, allocations: 0.8726 MB / 0.9392 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6833, allocations: 8 kB / 0.9392 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6833, allocations: 0 / 0.9392 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.6839, allocations: 88.83 kB / 0.9393 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/0.6847, allocations: 163.8 kB / 0.9395 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.687, allocations: 1.648 MB / 0.9411 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.6878, allocations: 105.9 kB / 0.9412 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.652e-05/0.6879, allocations: 31.97 kB / 0.9412 GB, free: 14.88 MB / 0.7012 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.0004847/0.6884, allocations: 263.4 kB / 0.9414 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.6886, allocations: 91.38 kB / 0.9415 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.6916, allocations: 1.201 MB / 0.9427 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.6916, allocations: 8 kB / 0.9427 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.6917, allocations: 4 kB / 0.9427 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.6917, allocations: 11.91 kB / 0.9427 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.6929, allocations: 0.9153 MB / 0.9436 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6929, allocations: 0 / 0.9436 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/0.6936, allocations: 167.8 kB / 0.9438 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.6941, allocations: 68.78 kB / 0.9439 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/0.6941, allocations: 31.98 kB / 0.9439 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.6963, allocations: 1.674 MB / 0.9455 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6963, allocations: 1.172 kB / 0.9455 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.6987, allocations: 1.007 MB / 0.9465 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.6991, allocations: 288.1 kB / 0.9468 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.6993, allocations: 27.98 kB / 0.9468 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.6999, allocations: 67.92 kB / 0.9469 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.7001, allocations: 76.89 kB / 0.9469 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.7002, allocations: 39.97 kB / 0.947 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006258/0.7008, allocations: 463 kB / 0.9474 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7009, allocations: 0 / 0.9474 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000838/0.7017, allocations: 323.1 kB / 0.9477 GB, free: 7.934 MB / 0.7012 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.00451/0.7062, allocations: 2.082 MB / 0.9498 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00202/0.7083, allocations: 0.8717 MB / 0.9506 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7083, allocations: 0 / 0.9506 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.7094, allocations: 0.5587 MB / 0.9512 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.7106, allocations: 306.5 kB / 0.9515 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.7232, allocations: 6.511 MB / 0.9578 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007322/0.7239, allocations: 1.023 MB / 0.9588 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009563/0.7249, allocations: 282.8 kB / 0.9591 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/0.7256, allocations: 379.3 kB / 0.9594 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.7256, allocations: 0 / 0.9594 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05752/0.7831, allocations: 22.15 MB / 0.9811 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.61, allocations: 7 kB / 0.9811 GB, free: 6.105 MB / 0.7325 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)