Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.001074/0.001074, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001075/0.001075, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7466/0.7465, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.66 kB / 0.5679 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1157, allocations: 77.94 MB / 0.644 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008734/0.1245, allocations: 7.176 MB / 0.651 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4384/0.5629, allocations: 153.4 MB / 0.8009 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.5643, allocations: 30.84 kB / 0.8009 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008901/0.5652, allocations: 348.9 kB / 0.8012 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.5674, allocations: 0.7737 MB / 0.802 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.5701, allocations: 1.391 MB / 0.8034 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002753/0.5729, allocations: 2.669 MB / 0.806 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.5742, allocations: 1.04 MB / 0.807 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.5754, allocations: 0.8868 MB / 0.8078 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009117/0.5763, allocations: 0.9106 MB / 0.8087 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.5766, allocations: 219.7 kB / 0.8089 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.578, allocations: 0.9685 MB / 0.8099 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004262/0.5785, allocations: 0.5406 MB / 0.8104 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000859/0.5794, allocations: 1.017 MB / 0.8114 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003554/0.5829, allocations: 3.019 MB / 0.8144 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.583, allocations: 3.938 kB / 0.8144 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.583, allocations: 0 / 0.8144 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.437e-05/0.583, allocations: 0 / 0.8144 GB, free: 8.773 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: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.00454/0.5876, allocations: 2.446 MB / 0.8168 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.5876, allocations: 7.969 kB / 0.8168 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/0.5879, allocations: 214 kB / 0.817 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.5899, allocations: 383.4 kB / 0.8173 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.592, allocations: 1.335 MB / 0.8186 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.5921, allocations: 108 kB / 0.8187 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.5923, allocations: 140.8 kB / 0.8189 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.5951, allocations: 1.663 MB / 0.8205 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.5952, allocations: 0 / 0.8205 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.5953, allocations: 65.56 kB / 0.8206 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.5954, allocations: 35.25 kB / 0.8206 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003343/0.5987, allocations: 2.145 MB / 0.8227 GB, free: 3.277 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.007552/0.6063, allocations: 4.927 MB / 0.8275 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.6094, allocations: 1.607 MB / 0.8291 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.6106, allocations: 0.5938 MB / 0.8296 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.6107, allocations: 63.72 kB / 0.8297 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/0.6124, allocations: 0.9393 MB / 0.8306 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=154): time 3.136e-06/0.6124, allocations: 0 / 0.8306 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=154): time 0.006266/0.6187, allocations: 2.379 MB / 0.8329 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/0.6189, allocations: 352.9 kB / 0.8333 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.6203, allocations: 1.162 MB / 0.8344 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.6205, allocations: 64.12 kB / 0.8345 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.6211, allocations: 0.6753 MB / 0.8351 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/0.6215, allocations: 0.507 MB / 0.8356 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/0.6219, allocations: 288.2 kB / 0.8359 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.622, allocations: 354.6 kB / 0.8362 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.6231, allocations: 0.4915 MB / 0.8367 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.6243, allocations: 0.7203 MB / 0.8374 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.6267, allocations: 1.19 MB / 0.8386 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.6267, allocations: 4 kB / 0.8386 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003943/0.6307, allocations: 1.598 MB / 0.8402 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.6307, allocations: 4 kB / 0.8402 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6307, allocations: 4 kB / 0.8402 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.6318, allocations: 165.8 kB / 0.8403 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.6332, allocations: 311.4 kB / 0.8406 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.6372, allocations: 3.304 MB / 0.8438 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.6387, allocations: 177.7 kB / 0.844 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.6389, allocations: 67.97 kB / 0.8441 GB, free: 2.129 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,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 (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007592/0.6396, allocations: 405.5 kB / 0.8445 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.64, allocations: 174.9 kB / 0.8446 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005067/0.6451, allocations: 2.174 MB / 0.8468 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/0.6451, allocations: 16 kB / 0.8468 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6451, allocations: 0 / 0.8468 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/0.6452, allocations: 19.89 kB / 0.8468 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.6472, allocations: 1.619 MB / 0.8484 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.6473, allocations: 0 / 0.8484 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.6485, allocations: 295.6 kB / 0.8487 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00093/0.6494, allocations: 141.6 kB / 0.8488 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.6496, allocations: 54.77 kB / 0.8488 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00389/0.6535, allocations: 3.34 MB / 0.8521 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6535, allocations: 4.062 kB / 0.8521 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/0.6578, allocations: 1.832 MB / 0.8539 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/0.6587, allocations: 479.3 kB / 0.8544 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.659, allocations: 39.94 kB / 0.8544 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.6603, allocations: 125.9 kB / 0.8545 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.6606, allocations: 141.8 kB / 0.8546 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.6607, allocations: 71.89 kB / 0.8547 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001236/0.6619, allocations: 0.8146 MB / 0.8555 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.662, allocations: 0 / 0.8555 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00133/0.6633, allocations: 0.5223 MB / 0.856 GB, free: 5.516 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005585/0.6689, allocations: 2.934 MB / 0.8589 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0034/0.6723, allocations: 1.614 MB / 0.8605 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6723, allocations: 0 / 0.8605 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.6743, allocations: 1.036 MB / 0.8615 GB, free: 52 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.6767, allocations: 0.5898 MB / 0.8621 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.6969, allocations: 11.24 MB / 0.873 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009966/0.6979, allocations: 1.333 MB / 0.8743 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00165/0.6996, allocations: 0.5205 MB / 0.8748 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.7007, allocations: 0.7374 MB / 0.8756 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.7007, allocations: 0 / 0.8756 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0746/0.7753, allocations: 39.72 MB / 0.9143 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.58, allocations: 7.922 kB / 0.9144 GB, free: 10.12 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)