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.001275/0.001275, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001423/0.001423, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.984 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.8395/0.8395, allocations: 134 MB / 446.4 MB, free: 10.71 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.002829/0.002829, allocations: 70.2 kB / 0.6185 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.178, allocations: 85.9 MB / 0.7024 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008659/0.1867, allocations: 6.328 MB / 0.7086 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5051/0.6918, allocations: 156.8 MB / 0.8617 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.693, allocations: 43.62 kB / 0.8618 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008846/0.6939, allocations: 327.4 kB / 0.8621 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.696, allocations: 0.6828 MB / 0.8627 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.699, allocations: 1.375 MB / 0.8641 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002837/0.7018, allocations: 2.36 MB / 0.8664 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.703, allocations: 0.7419 MB / 0.8671 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.7042, allocations: 0.8214 MB / 0.8679 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.7052, allocations: 0.8128 MB / 0.8687 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.7055, allocations: 196 kB / 0.8689 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.7073, allocations: 0.9949 MB / 0.8699 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004917/0.7078, allocations: 0.4984 MB / 0.8704 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009107/0.7087, allocations: 0.9131 MB / 0.8712 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.7123, allocations: 2.804 MB / 0.874 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.7123, allocations: 0 / 0.874 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7123, allocations: 0 / 0.874 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.179e-05/0.7123, allocations: 4 kB / 0.874 GB, free: 6.789 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.004038/0.7163, allocations: 2.201 MB / 0.8761 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.7164, allocations: 8.031 kB / 0.8761 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/0.7166, allocations: 207.5 kB / 0.8763 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/0.7196, allocations: 447.5 kB / 0.8768 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.7218, allocations: 1.196 MB / 0.8779 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/0.7219, allocations: 106.7 kB / 0.878 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.7221, allocations: 132 kB / 0.8782 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.7249, allocations: 1.524 MB / 0.8796 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.7249, allocations: 0 / 0.8796 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.7251, allocations: 63.94 kB / 0.8797 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.7251, allocations: 32 kB / 0.8797 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.7287, allocations: 2.043 MB / 0.8817 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007917/0.7366, allocations: 4.345 MB / 0.886 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.7395, allocations: 1.354 MB / 0.8873 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.7406, allocations: 0.5013 MB / 0.8878 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.7407, allocations: 57.38 kB / 0.8878 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.7423, allocations: 0.797 MB / 0.8886 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=136): time 3.436e-06/0.7423, allocations: 0 / 0.8886 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.006175/0.7485, allocations: 1.971 MB / 0.8905 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002526/0.7488, allocations: 359.4 kB / 0.8909 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.7507, allocations: 1.117 MB / 0.892 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.7508, allocations: 53.64 kB / 0.892 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006625/0.7515, allocations: 0.6471 MB / 0.8927 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.7519, allocations: 475.9 kB / 0.8931 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004016/0.7523, allocations: 250.8 kB / 0.8934 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.7525, allocations: 365.8 kB / 0.8937 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000993/0.7535, allocations: 430.4 kB / 0.8941 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.7547, allocations: 0.6408 MB / 0.8947 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.757, allocations: 1.077 MB / 0.8958 GB, free: 15.91 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.757, allocations: 0 / 0.8958 GB, free: 15.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003886/0.7609, allocations: 1.435 MB / 0.8972 GB, free: 14.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.7609, allocations: 4 kB / 0.8972 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7609, allocations: 4 kB / 0.8972 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.762, allocations: 169.8 kB / 0.8974 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.7632, allocations: 267.6 kB / 0.8976 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/0.7674, allocations: 3.074 MB / 0.9006 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.7687, allocations: 155.2 kB / 0.9008 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.7688, allocations: 55.97 kB / 0.9008 GB, free: 10.5 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.000732/0.7695, allocations: 390.1 kB / 0.9012 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.7698, allocations: 163 kB / 0.9014 GB, free: 9.953 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004757/0.7746, allocations: 1.97 MB / 0.9033 GB, free: 7.969 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/0.7746, allocations: 16 kB / 0.9033 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.7746, allocations: 4.094 kB / 0.9033 GB, free: 7.949 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.7746, allocations: 11.91 kB / 0.9033 GB, free: 7.938 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.7766, allocations: 1.475 MB / 0.9047 GB, free: 6.422 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.7766, allocations: 4 kB / 0.9047 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.7777, allocations: 279.7 kB / 0.905 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008851/0.7786, allocations: 149.4 kB / 0.9052 GB, free: 5.992 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-05/0.7787, allocations: 47.91 kB / 0.9052 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/0.7828, allocations: 3.133 MB / 0.9083 GB, free: 2.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7828, allocations: 128 / 0.9083 GB, free: 2.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003934/0.7868, allocations: 1.632 MB / 0.9099 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009499/0.7877, allocations: 371 kB / 0.9102 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.788, allocations: 43.92 kB / 0.9103 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009937/0.789, allocations: 107.8 kB / 0.9104 GB, free: 412 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.7892, allocations: 121.8 kB / 0.9105 GB, free: 288 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.7893, allocations: 63.95 kB / 0.9105 GB, free: 224 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00121/0.7905, allocations: 0.782 MB / 0.9113 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7905, allocations: 0 / 0.9113 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001337/0.7919, allocations: 478.8 kB / 0.9118 GB, free: 14.96 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.006182/0.7981, allocations: 2.727 MB / 0.9144 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003325/0.8014, allocations: 1.405 MB / 0.9158 GB, free: 11 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.8014, allocations: 4 kB / 0.9158 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.8033, allocations: 0.9028 MB / 0.9167 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.8056, allocations: 0.5589 MB / 0.9172 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/0.8271, allocations: 10.6 MB / 0.9276 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.8282, allocations: 1.293 MB / 0.9288 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001627/0.8298, allocations: 0.5039 MB / 0.9293 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.8308, allocations: 0.6749 MB / 0.93 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of SimCode: time 1.002e-06/0.8308, allocations: 4 kB / 0.93 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/0.9443, allocations: 38.03 MB / 0.9671 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/16.11, allocations: 5.875 kB / 0.9671 GB, free: 6.426 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.951202825999644] Failed to read output from testmodel.py, exit status != 0: 16.355001745003392 16.384202618 15.666499252 Calling exit ...