Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IBPSA_latest_IBPSA_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.001284/0.001284, allocations: 99.22 kB / 16.4 MB, free: 6.461 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.00157/0.00157, allocations: 196 kB / 17.34 MB, free: 5.715 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8222/0.8222, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 64.03 kB / 0.5735 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1299, allocations: 78.87 MB / 0.6505 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006521/0.1364, allocations: 4.69 MB / 0.6551 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4488/0.5853, allocations: 150.6 MB / 0.8022 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007309/0.5861, allocations: 15.16 kB / 0.8022 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006749/0.5868, allocations: 188.3 kB / 0.8024 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.5886, allocations: 0.5289 MB / 0.8029 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.5904, allocations: 0.8428 MB / 0.8037 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001529/0.5919, allocations: 1.389 MB / 0.8051 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006928/0.5926, allocations: 0.5332 MB / 0.8056 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/0.5932, allocations: 471.4 kB / 0.806 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.5937, allocations: 498.9 kB / 0.8065 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.5938, allocations: 107.7 kB / 0.8066 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.595, allocations: 0.8751 MB / 0.8075 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.5953, allocations: 293.5 kB / 0.8077 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.5957, allocations: 0.5281 MB / 0.8082 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.5974, allocations: 1.801 MB / 0.81 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5974, allocations: 3.984 kB / 0.81 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5974, allocations: 0 / 0.81 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.5974, allocations: 0 / 0.81 GB, free: 10.87 MB / 0.5919 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.002455/0.5999, allocations: 1.491 MB / 0.8115 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5999, allocations: 10.12 kB / 0.8115 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.6001, allocations: 133.5 kB / 0.8116 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6012, allocations: 206.9 kB / 0.8118 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6023, allocations: 0.7797 MB / 0.8126 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.6023, allocations: 59.75 kB / 0.8126 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.6024, allocations: 68.69 kB / 0.8127 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.6039, allocations: 0.9027 MB / 0.8136 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.604, allocations: 0 / 0.8136 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.604, allocations: 31.69 kB / 0.8136 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.6041, allocations: 17.69 kB / 0.8136 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.6059, allocations: 1.129 MB / 0.8147 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003668/0.6096, allocations: 2.583 MB / 0.8172 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.6112, allocations: 0.8308 MB / 0.8181 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/0.6119, allocations: 333.6 kB / 0.8184 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.97e-05/0.612, allocations: 39.38 kB / 0.8184 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.613, allocations: 0.5221 MB / 0.8189 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.345e-06/0.613, allocations: 0 / 0.8189 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003555/0.6166, allocations: 1.296 MB / 0.8202 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.6167, allocations: 190.6 kB / 0.8204 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007932/0.6175, allocations: 0.6427 MB / 0.821 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.035e-05/0.6176, allocations: 42.11 kB / 0.821 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.6179, allocations: 382.4 kB / 0.8214 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.6182, allocations: 275.4 kB / 0.8217 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.6184, allocations: 157.8 kB / 0.8218 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6186, allocations: 398.8 kB / 0.8222 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.6193, allocations: 280.3 kB / 0.8225 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007843/0.6201, allocations: 397.7 kB / 0.8228 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.6215, allocations: 0.643 MB / 0.8235 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6215, allocations: 1.875 kB / 0.8235 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002196/0.6237, allocations: 0.8778 MB / 0.8243 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6237, allocations: 9.562 kB / 0.8243 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6237, allocations: 0 / 0.8243 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.6243, allocations: 85.52 kB / 0.8244 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/0.625, allocations: 165.2 kB / 0.8246 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.6272, allocations: 1.653 MB / 0.8262 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.6279, allocations: 90.84 kB / 0.8263 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/0.628, allocations: 34.31 kB / 0.8263 GB, free: 0.6016 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.0004189/0.6284, allocations: 271.8 kB / 0.8266 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.6286, allocations: 91.84 kB / 0.8267 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.6315, allocations: 1.2 MB / 0.8278 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.6315, allocations: 14.08 kB / 0.8278 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6315, allocations: 0 / 0.8278 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.6316, allocations: 7.984 kB / 0.8278 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.6326, allocations: 0.9142 MB / 0.8287 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6327, allocations: 0 / 0.8287 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006775/0.6333, allocations: 163.3 kB / 0.8289 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.6338, allocations: 75.91 kB / 0.829 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.6339, allocations: 31.72 kB / 0.829 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.6359, allocations: 1.674 MB / 0.8306 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6359, allocations: 2.781 kB / 0.8306 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.6381, allocations: 1.003 MB / 0.8316 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.6385, allocations: 286.1 kB / 0.8319 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.6386, allocations: 21.28 kB / 0.8319 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.6393, allocations: 73.14 kB / 0.832 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.6395, allocations: 76.08 kB / 0.832 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/0.6396, allocations: 41.16 kB / 0.8321 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005705/0.6402, allocations: 463.6 kB / 0.8325 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.355e-06/0.6402, allocations: 0 / 0.8325 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007884/0.641, allocations: 326.2 kB / 0.8328 GB, free: 12.02 MB / 0.6075 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.004284/0.6453, allocations: 2.074 MB / 0.8349 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.6472, allocations: 0.8747 MB / 0.8357 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6472, allocations: 2.312 kB / 0.8357 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.6482, allocations: 0.5604 MB / 0.8363 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.6494, allocations: 302.7 kB / 0.8366 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.6606, allocations: 6.399 MB / 0.8428 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.6613, allocations: 1.019 MB / 0.8438 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009258/0.6623, allocations: 282.9 kB / 0.8441 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/0.6629, allocations: 379.3 kB / 0.8444 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.6629, allocations: 0 / 0.8444 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09/0.7529, allocations: 22.41 MB / 0.8663 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.65, allocations: 11.44 kB / 0.8663 GB, free: 12.37 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)