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.001323/0.001323, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002276/0.002276, allocations: 217 kB / 22.25 MB, free: 4.855 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.797 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.7898/0.7898, allocations: 134 MB / 446.4 MB, free: 9.902 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.001912/0.001912, allocations: 64.28 kB / 0.6185 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 85.91 MB / 0.7024 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007748/0.1672, allocations: 5.552 MB / 0.7078 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4937/0.6609, allocations: 135.1 MB / 0.8398 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.6625, allocations: 47.56 kB / 0.8398 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009556/0.6635, allocations: 325.5 kB / 0.8401 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.6659, allocations: 0.6907 MB / 0.8408 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.669, allocations: 1.332 MB / 0.8421 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002762/0.6718, allocations: 2.375 MB / 0.8444 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.673, allocations: 0.6795 MB / 0.8451 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.6742, allocations: 0.8331 MB / 0.8459 GB, free: 316 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009185/0.6751, allocations: 0.7348 MB / 0.8466 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.6753, allocations: 192 kB / 0.8468 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.677, allocations: 0.8973 MB / 0.8477 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004441/0.6774, allocations: 0.4984 MB / 0.8481 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006652/0.6781, allocations: 0.7228 MB / 0.8488 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.681, allocations: 2.804 MB / 0.8516 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.681, allocations: 0 / 0.8516 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.092e-06/0.681, allocations: 8 kB / 0.8516 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.6811, allocations: 0.5625 kB / 0.8516 GB, free: 10.44 MB / 0.6231 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.003507/0.6846, allocations: 2.205 MB / 0.8537 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6846, allocations: 12.03 kB / 0.8538 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000233/0.6848, allocations: 198.8 kB / 0.8539 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/0.6876, allocations: 455.4 kB / 0.8544 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.6896, allocations: 1.204 MB / 0.8556 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.772e-05/0.6897, allocations: 99.91 kB / 0.8557 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.6899, allocations: 128 kB / 0.8558 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.6927, allocations: 2.026 MB / 0.8578 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.6927, allocations: 0 / 0.8578 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.6929, allocations: 64 kB / 0.8578 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.6929, allocations: 35.98 kB / 0.8578 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.6961, allocations: 1.949 MB / 0.8598 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006628/0.7028, allocations: 3.988 MB / 0.8636 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.7055, allocations: 1.349 MB / 0.865 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009851/0.7064, allocations: 0.4935 MB / 0.8654 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.7066, allocations: 41.28 kB / 0.8655 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.7081, allocations: 0.9984 MB / 0.8665 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=136): time 3.166e-06/0.7081, allocations: 0 / 0.8665 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=136): time 0.005628/0.7138, allocations: 1.974 MB / 0.8684 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002028/0.714, allocations: 355.4 kB / 0.8687 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.7155, allocations: 1.125 MB / 0.8698 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.7156, allocations: 53.7 kB / 0.8699 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005774/0.7162, allocations: 0.6433 MB / 0.8705 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/0.7166, allocations: 476 kB / 0.871 GB, free: 6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.7169, allocations: 250.8 kB / 0.8712 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7171, allocations: 357.9 kB / 0.8715 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000944/0.718, allocations: 434.4 kB / 0.872 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.7194, allocations: 0.8934 MB / 0.8728 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.7216, allocations: 1.073 MB / 0.8739 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.7216, allocations: 4 kB / 0.8739 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00371/0.7253, allocations: 1.431 MB / 0.8753 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.7253, allocations: 4 kB / 0.8753 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7253, allocations: 4 kB / 0.8753 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.7264, allocations: 161.8 kB / 0.8754 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.7275, allocations: 279.6 kB / 0.8757 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004162/0.7316, allocations: 3.067 MB / 0.8787 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.7329, allocations: 151.9 kB / 0.8788 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.733, allocations: 59.95 kB / 0.8789 GB, free: 13.45 MB / 0.6544 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.0008347/0.7339, allocations: 392.5 kB / 0.8793 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.7342, allocations: 155 kB / 0.8794 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004597/0.7388, allocations: 1.983 MB / 0.8814 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.7388, allocations: 23.94 kB / 0.8814 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7388, allocations: 4 kB / 0.8814 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.7388, allocations: 11.97 kB / 0.8814 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.7407, allocations: 1.237 MB / 0.8826 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.7408, allocations: 0 / 0.8826 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.7418, allocations: 275.7 kB / 0.8829 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008128/0.7426, allocations: 145.5 kB / 0.883 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.982e-05/0.7427, allocations: 51.95 kB / 0.8831 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003855/0.7466, allocations: 3.113 MB / 0.8861 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7466, allocations: 0 / 0.8861 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/0.7503, allocations: 1.639 MB / 0.8877 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007663/0.751, allocations: 375 kB / 0.8881 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.7512, allocations: 32 kB / 0.8881 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009942/0.7522, allocations: 112.2 kB / 0.8882 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.7524, allocations: 125.8 kB / 0.8883 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.7525, allocations: 59.97 kB / 0.8884 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001107/0.7536, allocations: 0.7859 MB / 0.8891 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7536, allocations: 0 / 0.8891 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001151/0.7548, allocations: 478.8 kB / 0.8896 GB, free: 2.164 MB / 0.6544 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.005792/0.7606, allocations: 2.758 MB / 0.8923 GB, free: 15.61 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0029/0.7635, allocations: 1.401 MB / 0.8937 GB, free: 14.19 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7635, allocations: 0 / 0.8937 GB, free: 14.19 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.7652, allocations: 0.9145 MB / 0.8946 GB, free: 13.25 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.7671, allocations: 0.5548 MB / 0.8951 GB, free: 12.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/0.7867, allocations: 10.59 MB / 0.9054 GB, free: 1.934 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007803/0.7875, allocations: 0.7044 MB / 0.9061 GB, free: 1.195 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001543/0.789, allocations: 0.5117 MB / 0.9066 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009378/0.79, allocations: 0.6749 MB / 0.9073 GB, free: 4 kB / 0.67 GB Notification: Performance of SimCode: time 1.062e-06/0.79, allocations: 0 / 0.9073 GB, free: 4 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08406/0.874, allocations: 39.36 MB / 0.9457 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.76, allocations: 2.625 kB / 0.9457 GB, free: 8.965 MB / 0.7169 GB " [Timeout remaining time 645] (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: 18.402079722844064] Failed to read output from testmodel.py, exit status != 0: 14.999540125951171 15.027135682 14.341121883 Calling exit ...