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.001684/0.001684, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002162/0.002162, allocations: 212.3 kB / 22.24 MB, free: 5.242 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.781 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.8162/0.8162, allocations: 134 MB / 446.4 MB, free: 9.922 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.001966/0.001966, allocations: 63.34 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1548, allocations: 85.91 MB / 0.7024 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008589/0.1634, allocations: 5.553 MB / 0.7078 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5007/0.6642, allocations: 135.1 MB / 0.8398 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.6655, allocations: 49 kB / 0.8398 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.6667, allocations: 320.8 kB / 0.8401 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.6694, allocations: 0.6928 MB / 0.8408 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.6729, allocations: 1.331 MB / 0.8421 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003222/0.6762, allocations: 2.368 MB / 0.8444 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.6778, allocations: 0.6912 MB / 0.8451 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.6792, allocations: 0.8292 MB / 0.8459 GB, free: 284 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.6805, allocations: 0.7348 MB / 0.8466 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004961/0.681, allocations: 192 kB / 0.8468 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.6829, allocations: 0.8934 MB / 0.8477 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000631/0.6836, allocations: 0.4945 MB / 0.8481 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.6847, allocations: 0.7306 MB / 0.8488 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.6886, allocations: 2.808 MB / 0.8516 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6886, allocations: 0 / 0.8516 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6886, allocations: 4 kB / 0.8516 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.964e-05/0.6887, allocations: 0 / 0.8516 GB, free: 10.41 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.004637/0.6934, allocations: 2.201 MB / 0.8537 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.6934, allocations: 13.44 kB / 0.8538 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/0.6936, allocations: 202.8 kB / 0.854 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/0.6966, allocations: 451.5 kB / 0.8544 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.6988, allocations: 1.2 MB / 0.8556 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.6989, allocations: 106.7 kB / 0.8557 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.6991, allocations: 128 kB / 0.8558 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/0.7022, allocations: 2.022 MB / 0.8578 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.7022, allocations: 3.25 kB / 0.8578 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.7023, allocations: 56 kB / 0.8578 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.7024, allocations: 40 kB / 0.8578 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003352/0.7057, allocations: 1.957 MB / 0.8598 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.713, allocations: 3.984 MB / 0.8636 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/0.7157, allocations: 1.346 MB / 0.865 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.7167, allocations: 497.4 kB / 0.8654 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.7168, allocations: 49.27 kB / 0.8655 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.7184, allocations: 0.9978 MB / 0.8665 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=136): time 3.777e-06/0.7184, allocations: 0 / 0.8665 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=136): time 0.005718/0.7241, allocations: 1.982 MB / 0.8684 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/0.7243, allocations: 351.5 kB / 0.8687 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.7259, allocations: 1.128 MB / 0.8698 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.7261, allocations: 53.7 kB / 0.8699 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005793/0.7266, allocations: 0.6433 MB / 0.8705 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/0.7271, allocations: 472 kB / 0.871 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.7274, allocations: 254.7 kB / 0.8712 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.7276, allocations: 353.9 kB / 0.8715 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009648/0.7285, allocations: 434.4 kB / 0.872 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.7299, allocations: 0.8957 MB / 0.8728 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.732, allocations: 1.07 MB / 0.8739 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.732, allocations: 4 kB / 0.8739 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003669/0.7356, allocations: 1.427 MB / 0.8753 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.7357, allocations: 8 kB / 0.8753 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.7357, allocations: 4 kB / 0.8753 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.7368, allocations: 165.8 kB / 0.8754 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.7379, allocations: 275.5 kB / 0.8757 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/0.7419, allocations: 3.071 MB / 0.8787 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.7431, allocations: 151.2 kB / 0.8788 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.7432, allocations: 51.97 kB / 0.8789 GB, free: 13.42 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.0007552/0.744, allocations: 395.5 kB / 0.8793 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.7443, allocations: 155 kB / 0.8794 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004674/0.749, allocations: 1.984 MB / 0.8814 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.749, allocations: 20 kB / 0.8814 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.749, allocations: 3.938 kB / 0.8814 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.749, allocations: 11.91 kB / 0.8814 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.7508, allocations: 1.233 MB / 0.8826 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.7508, allocations: 4 kB / 0.8826 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.7519, allocations: 279.7 kB / 0.8829 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008418/0.7527, allocations: 149.4 kB / 0.883 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.607e-05/0.7528, allocations: 43.97 kB / 0.8831 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/0.7567, allocations: 3.113 MB / 0.8861 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7567, allocations: 0 / 0.8861 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003945/0.7606, allocations: 1.643 MB / 0.8877 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000885/0.7615, allocations: 371 kB / 0.8881 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.7617, allocations: 40 kB / 0.8881 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009849/0.7627, allocations: 108.5 kB / 0.8882 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.7629, allocations: 125.8 kB / 0.8883 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.763, allocations: 55.97 kB / 0.8884 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001158/0.7642, allocations: 0.7898 MB / 0.8891 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7642, allocations: 0 / 0.8891 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001188/0.7654, allocations: 474.9 kB / 0.8896 GB, free: 2.133 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.005848/0.7712, allocations: 2.766 MB / 0.8923 GB, free: 15.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003082/0.7743, allocations: 1.405 MB / 0.8937 GB, free: 14.15 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7743, allocations: 0 / 0.8937 GB, free: 14.15 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.7761, allocations: 0.9067 MB / 0.8945 GB, free: 13.22 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.7782, allocations: 0.5617 MB / 0.8951 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/0.7982, allocations: 10.6 MB / 0.9054 GB, free: 1.902 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007575/0.799, allocations: 0.7005 MB / 0.9061 GB, free: 1.168 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001568/0.8005, allocations: 0.5039 MB / 0.9066 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009546/0.8015, allocations: 0.6749 MB / 0.9073 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of SimCode: time 8.72e-07/0.8015, allocations: 0 / 0.9073 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/0.907, allocations: 39.36 MB / 0.9457 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.7, allocations: 2.344 kB / 0.9457 GB, free: 8.949 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 & /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: 18.39532600529492] Failed to read output from testmodel.py, exit status != 0: 14.934825124684721 14.950380809 14.258681317 Calling exit ...