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.004849/0.004849, allocations: 97.56 kB / 15.73 MB, free: 6.035 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.001207/0.001207, allocations: 201.3 kB / 16.68 MB, free: 5.961 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.193/1.193, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 282.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.87/0.87, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 99.83 kB / 0.6809 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1312, 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.00515/0.1364, allocations: 4.434 MB / 0.7702 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4049/0.5413, allocations: 150.6 MB / 0.9172 GB, free: 7.906 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005618/0.5419, allocations: 15.94 kB / 0.9173 GB, free: 7.891 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.5424, allocations: 176.5 kB / 0.9174 GB, free: 7.719 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.5437, allocations: 0.5112 MB / 0.9179 GB, free: 7.223 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.5452, allocations: 0.8378 MB / 0.9188 GB, free: 6.41 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.5462, allocations: 1.351 MB / 0.9201 GB, free: 5.055 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006231/0.5468, allocations: 0.5542 MB / 0.9206 GB, free: 4.484 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.5473, allocations: 470.4 kB / 0.9211 GB, free: 4.023 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.5477, allocations: 489.8 kB / 0.9215 GB, free: 3.543 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.5479, allocations: 112 kB / 0.9216 GB, free: 3.434 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.549, allocations: 0.8777 MB / 0.9225 GB, free: 2.555 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.5492, allocations: 291.1 kB / 0.9228 GB, free: 2.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.5496, allocations: 0.5282 MB / 0.9233 GB, free: 1.742 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.5511, allocations: 1.788 MB / 0.925 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5511, allocations: 0 / 0.925 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5512, allocations: 0 / 0.925 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.5512, allocations: 0 / 0.925 GB, free: 15.95 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.002071/0.5532, allocations: 1.487 MB / 0.9265 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.5533, allocations: 12.03 kB / 0.9265 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.5534, allocations: 124.7 kB / 0.9266 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009894/0.5544, allocations: 212 kB / 0.9268 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/0.5554, allocations: 0.7709 MB / 0.9276 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.5554, allocations: 58 kB / 0.9276 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/0.5555, allocations: 76 kB / 0.9277 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.5569, allocations: 0.8918 MB / 0.9286 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.5569, allocations: 4 kB / 0.9286 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.557, allocations: 32 kB / 0.9286 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.557, allocations: 16 kB / 0.9286 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.5588, allocations: 1.135 MB / 0.9297 GB, free: 11 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.562, allocations: 2.478 MB / 0.9321 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.5635, allocations: 0.8281 MB / 0.933 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.5641, allocations: 339.9 kB / 0.9333 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.558e-05/0.5642, allocations: 32.59 kB / 0.9333 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008858/0.5651, allocations: 0.5303 MB / 0.9338 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 1.843e-06/0.5651, allocations: 0 / 0.9338 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003174/0.5683, allocations: 1.292 MB / 0.9351 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.5684, allocations: 196.6 kB / 0.9353 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.569, allocations: 0.6294 MB / 0.9359 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.5691, allocations: 41.7 kB / 0.9359 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.5693, allocations: 389.1 kB / 0.9363 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.5695, allocations: 281.6 kB / 0.9366 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.5697, allocations: 154.6 kB / 0.9367 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5698, allocations: 394.7 kB / 0.9371 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.5704, allocations: 281.8 kB / 0.9374 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007033/0.5711, allocations: 392.3 kB / 0.9377 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.5724, allocations: 0.647 MB / 0.9384 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5724, allocations: 0 / 0.9384 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001946/0.5744, allocations: 0.8765 MB / 0.9392 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5744, allocations: 8.125 kB / 0.9392 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.5744, allocations: 2.625 kB / 0.9392 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/0.5749, allocations: 76.78 kB / 0.9393 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/0.5756, allocations: 172.9 kB / 0.9395 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.5774, allocations: 1.65 MB / 0.9411 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/0.578, allocations: 98.11 kB / 0.9412 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.5781, allocations: 31.98 kB / 0.9412 GB, free: 14.86 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.0003136/0.5784, allocations: 267.4 kB / 0.9415 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.5785, allocations: 95.38 kB / 0.9416 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.5811, allocations: 1.198 MB / 0.9427 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5811, allocations: 8 kB / 0.9427 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5811, allocations: 0 / 0.9427 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.5811, allocations: 3.984 kB / 0.9427 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008631/0.582, allocations: 0.9231 MB / 0.9436 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.582, allocations: 0 / 0.9436 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.5826, allocations: 167.8 kB / 0.9438 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003969/0.5831, allocations: 68.8 kB / 0.9439 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.5831, allocations: 27.97 kB / 0.9439 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.5847, allocations: 1.678 MB / 0.9455 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5848, allocations: 4.062 kB / 0.9455 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.5867, allocations: 1.002 MB / 0.9465 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.5871, allocations: 292.1 kB / 0.9468 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.5872, allocations: 20 kB / 0.9468 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.5878, allocations: 75.91 kB / 0.9469 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.5879, allocations: 80.83 kB / 0.947 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/0.588, allocations: 31.98 kB / 0.947 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004728/0.5885, allocations: 467 kB / 0.9474 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5885, allocations: 0 / 0.9474 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006932/0.5892, allocations: 319.2 kB / 0.9477 GB, free: 7.91 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.003384/0.5926, allocations: 2.084 MB / 0.9498 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.5943, allocations: 0.8637 MB / 0.9506 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5943, allocations: 0 / 0.9506 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.5953, allocations: 0.5667 MB / 0.9512 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009847/0.5963, allocations: 309.3 kB / 0.9515 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.6067, allocations: 6.507 MB / 0.9578 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.6072, allocations: 1.019 MB / 0.9588 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007231/0.6079, allocations: 274.8 kB / 0.9591 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/0.6084, allocations: 383.3 kB / 0.9594 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.6084, allocations: 0 / 0.9594 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04238/0.6508, allocations: 22.16 MB / 0.9811 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.84, allocations: 7.812 kB / 0.9811 GB, free: 6.082 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)