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.001276/0.001276, allocations: 110.4 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.001494/0.001494, allocations: 220 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.992 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.8266/0.8266, allocations: 134 MB / 446.4 MB, free: 10.22 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.001863/0.001863, allocations: 62.28 kB / 0.6185 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.155, allocations: 85.91 MB / 0.7024 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008449/0.1635, allocations: 6.316 MB / 0.7086 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.505/0.6685, allocations: 156.8 MB / 0.8617 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.6701, allocations: 47.62 kB / 0.8618 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.6713, allocations: 327.5 kB / 0.8621 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002539/0.6738, allocations: 0.6934 MB / 0.8627 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.677, allocations: 1.352 MB / 0.8641 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.68, allocations: 2.371 MB / 0.8664 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.6812, allocations: 0.738 MB / 0.8671 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.6825, allocations: 0.8253 MB / 0.8679 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.6835, allocations: 0.8089 MB / 0.8687 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002614/0.6838, allocations: 195.9 kB / 0.8689 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.6856, allocations: 0.991 MB / 0.8699 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004861/0.6861, allocations: 0.5022 MB / 0.8703 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008932/0.6869, allocations: 0.917 MB / 0.8712 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.6905, allocations: 2.804 MB / 0.874 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6905, allocations: 0 / 0.874 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6905, allocations: 7.938 kB / 0.874 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.432e-05/0.6905, allocations: 0 / 0.874 GB, free: 6.832 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.00386/0.6944, allocations: 2.201 MB / 0.8761 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.6944, allocations: 8.031 kB / 0.8761 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002463/0.6947, allocations: 202.8 kB / 0.8763 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/0.6976, allocations: 451.5 kB / 0.8768 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.6999, allocations: 1.192 MB / 0.8779 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-05/0.7, allocations: 106.7 kB / 0.878 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.7002, allocations: 124 kB / 0.8782 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.703, allocations: 1.53 MB / 0.8796 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.703, allocations: 3.938 kB / 0.8796 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.7031, allocations: 60 kB / 0.8797 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.7032, allocations: 32 kB / 0.8797 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/0.7067, allocations: 2.039 MB / 0.8817 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007663/0.7143, allocations: 4.363 MB / 0.886 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/0.7172, allocations: 1.345 MB / 0.8873 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.7183, allocations: 0.4935 MB / 0.8878 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.7184, allocations: 53.38 kB / 0.8878 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/0.7199, allocations: 0.7976 MB / 0.8886 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=136): time 2.946e-06/0.7199, allocations: 0 / 0.8886 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.005907/0.7258, allocations: 1.974 MB / 0.8905 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002307/0.7261, allocations: 355.5 kB / 0.8909 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.7278, allocations: 1.125 MB / 0.892 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.7279, allocations: 57.64 kB / 0.892 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006337/0.7286, allocations: 0.651 MB / 0.8927 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/0.729, allocations: 471.9 kB / 0.8931 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/0.7294, allocations: 250.8 kB / 0.8934 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.7296, allocations: 353.9 kB / 0.8937 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009699/0.7306, allocations: 434.4 kB / 0.8941 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.7318, allocations: 0.6485 MB / 0.8947 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.734, allocations: 1.07 MB / 0.8958 GB, free: 15.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.734, allocations: 0 / 0.8958 GB, free: 15.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00391/0.7379, allocations: 1.435 MB / 0.8972 GB, free: 14.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.738, allocations: 4 kB / 0.8972 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.738, allocations: 4 kB / 0.8972 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.7391, allocations: 169.8 kB / 0.8974 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.7403, allocations: 268.4 kB / 0.8976 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/0.7448, allocations: 3.084 MB / 0.9006 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.7461, allocations: 147.8 kB / 0.9008 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.7463, allocations: 59.95 kB / 0.9008 GB, free: 10.55 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.0009706/0.7473, allocations: 386 kB / 0.9012 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/0.7478, allocations: 159 kB / 0.9013 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005164/0.753, allocations: 1.981 MB / 0.9033 GB, free: 8.012 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.753, allocations: 20 kB / 0.9033 GB, free: 7.992 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.753, allocations: 0 / 0.9033 GB, free: 7.992 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.753, allocations: 11.97 kB / 0.9033 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.7553, allocations: 1.467 MB / 0.9047 GB, free: 6.473 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.7553, allocations: 0 / 0.9047 GB, free: 6.473 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.7565, allocations: 279.6 kB / 0.905 GB, free: 6.199 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008914/0.7573, allocations: 149.5 kB / 0.9052 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.7575, allocations: 43.97 kB / 0.9052 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004153/0.7616, allocations: 3.141 MB / 0.9083 GB, free: 2.621 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7616, allocations: 3.938 kB / 0.9083 GB, free: 2.617 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/0.7657, allocations: 1.632 MB / 0.9099 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009103/0.7666, allocations: 371 kB / 0.9102 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/0.7669, allocations: 31.94 kB / 0.9102 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.768, allocations: 116 kB / 0.9104 GB, free: 468 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/0.7683, allocations: 125.8 kB / 0.9105 GB, free: 340 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.7684, allocations: 59.97 kB / 0.9105 GB, free: 280 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001381/0.7698, allocations: 0.7898 MB / 0.9113 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.7698, allocations: 0 / 0.9113 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001434/0.7712, allocations: 478.8 kB / 0.9118 GB, free: 15.01 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.006395/0.7776, allocations: 2.728 MB / 0.9144 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00334/0.7809, allocations: 1.397 MB / 0.9158 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.781, allocations: 0 / 0.9158 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.7828, allocations: 0.9067 MB / 0.9167 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.7852, allocations: 0.5586 MB / 0.9172 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/0.8084, allocations: 10.6 MB / 0.9276 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.8096, allocations: 1.301 MB / 0.9288 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001797/0.8114, allocations: 0.5 MB / 0.9293 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.8126, allocations: 0.6711 MB / 0.93 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of SimCode: time 1.243e-06/0.8126, allocations: 0 / 0.93 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/0.9312, allocations: 38.04 MB / 0.9671 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.66, allocations: 0 / 0.9671 GB, free: 6.477 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 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.23722225590609] Failed to read output from testmodel.py, exit status != 0: 15.892157666850835 15.908473916 15.214807946 Calling exit ...