Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 107.9 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8549/0.8549, allocations: 133.9 MB / 442.8 MB, free: 11.3 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 70.25 kB / 0.6134 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1683, allocations: 85.85 MB / 0.6972 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008964/0.1773, allocations: 6.303 MB / 0.7034 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5822/0.7594, allocations: 156.6 MB / 0.8564 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.761, allocations: 39.69 kB / 0.8564 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.7621, allocations: 327.3 kB / 0.8567 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.7649, allocations: 0.6902 MB / 0.8574 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003523/0.7685, allocations: 1.312 MB / 0.8587 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003563/0.772, allocations: 2.361 MB / 0.861 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.7734, allocations: 0.749 MB / 0.8617 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.7747, allocations: 0.8214 MB / 0.8625 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.776, allocations: 0.8166 MB / 0.8633 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.7763, allocations: 196 kB / 0.8635 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.7782, allocations: 0.9872 MB / 0.8644 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.7787, allocations: 0.4906 MB / 0.8649 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009424/0.7797, allocations: 0.9209 MB / 0.8658 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.7839, allocations: 2.804 MB / 0.8686 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.7839, allocations: 3.75 kB / 0.8686 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7839, allocations: 0 / 0.8686 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.286e-05/0.7839, allocations: 0 / 0.8686 GB, free: 8.883 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004247/0.7882, allocations: 2.282 MB / 0.8708 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.7882, allocations: 9.109 kB / 0.8708 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002681/0.7885, allocations: 198.8 kB / 0.871 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.7916, allocations: 455.5 kB / 0.8714 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.7938, allocations: 1.276 MB / 0.8727 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.7939, allocations: 102.7 kB / 0.8728 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.7941, allocations: 128 kB / 0.8729 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.797, allocations: 1.52 MB / 0.8744 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.797, allocations: 4 kB / 0.8744 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.7971, allocations: 63.92 kB / 0.8744 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.7972, allocations: 32 kB / 0.8745 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/0.8008, allocations: 2.043 MB / 0.8765 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007822/0.8086, allocations: 4.436 MB / 0.8808 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.8116, allocations: 1.349 MB / 0.8821 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.8128, allocations: 0.4969 MB / 0.8826 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.8129, allocations: 57.12 kB / 0.8827 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/0.8146, allocations: 0.7892 MB / 0.8834 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=136): time 5.069e-06/0.8147, allocations: 3.984 kB / 0.8834 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.006546/0.8212, allocations: 2.127 MB / 0.8855 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000226/0.8214, allocations: 355.3 kB / 0.8858 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.8233, allocations: 1.121 MB / 0.8869 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.8235, allocations: 57.69 kB / 0.887 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006261/0.8241, allocations: 0.6471 MB / 0.8876 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/0.8246, allocations: 468 kB / 0.8881 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004186/0.825, allocations: 247.9 kB / 0.8883 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.8252, allocations: 361.9 kB / 0.8887 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.8263, allocations: 430.4 kB / 0.8891 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.8276, allocations: 0.6484 MB / 0.8897 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.83, allocations: 1.063 MB / 0.8907 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.83, allocations: 0 / 0.8907 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005545/0.8355, allocations: 1.44 MB / 0.8921 GB, free: 108 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.8356, allocations: 4 kB / 0.8921 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.8356, allocations: 4 kB / 0.8922 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.8369, allocations: 165.8 kB / 0.8923 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.8381, allocations: 267.6 kB / 0.8926 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/0.8426, allocations: 3.291 MB / 0.8958 GB, free: 12.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.844, allocations: 153.7 kB / 0.8959 GB, free: 11.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.8441, allocations: 55.91 kB / 0.896 GB, free: 11.89 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 143 * 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.0007885/0.8449, allocations: 385.5 kB / 0.8963 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/0.8453, allocations: 163 kB / 0.8965 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/0.8502, allocations: 1.975 MB / 0.8984 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.8502, allocations: 16 kB / 0.8984 GB, free: 9.336 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8502, allocations: 4 kB / 0.8984 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.8502, allocations: 7.969 kB / 0.8985 GB, free: 9.324 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.8524, allocations: 1.495 MB / 0.8999 GB, free: 7.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.8524, allocations: 3.984 kB / 0.8999 GB, free: 7.781 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.8535, allocations: 283.3 kB / 0.9002 GB, free: 7.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008773/0.8544, allocations: 145.5 kB / 0.9003 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.8545, allocations: 43.97 kB / 0.9004 GB, free: 7.316 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/0.8587, allocations: 3.356 MB / 0.9036 GB, free: 3.672 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8587, allocations: 0 / 0.9036 GB, free: 3.672 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004139/0.8629, allocations: 1.628 MB / 0.9052 GB, free: 2.02 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/0.8637, allocations: 443.5 kB / 0.9057 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.864, allocations: 32 kB / 0.9057 GB, free: 1.535 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.865, allocations: 112.7 kB / 0.9058 GB, free: 1.426 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.8653, allocations: 121.8 kB / 0.9059 GB, free: 1.309 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.8654, allocations: 59.97 kB / 0.906 GB, free: 1.25 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001162/0.8665, allocations: 0.7859 MB / 0.9067 GB, free: 472 kB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8665, allocations: 4 kB / 0.9067 GB, free: 468 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.001293/0.8678, allocations: 479 kB / 0.9072 GB, free: 15.98 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.006223/0.8741, allocations: 2.731 MB / 0.9099 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003624/0.8777, allocations: 1.408 MB / 0.9112 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.8777, allocations: 4 kB / 0.9112 GB, free: 12 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.8797, allocations: 0.8989 MB / 0.9121 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.8821, allocations: 0.5541 MB / 0.9127 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/0.9068, allocations: 10.61 MB / 0.923 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.908, allocations: 1.289 MB / 0.9243 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001793/0.9098, allocations: 0.5039 MB / 0.9248 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.9108, allocations: 0.6711 MB / 0.9254 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of SimCode: time 1.212e-06/0.9108, allocations: 0 / 0.9254 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08691/0.9977, allocations: 37.03 MB / 0.9616 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.86, allocations: 13.81 kB / 0.9616 GB, free: 8.516 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.77321251099056] Failed to read output from testmodel.py, exit status != 0: 16.07984502099862 16.097374716 15.309735393 Calling exit ...