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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 103.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.8115/0.8115, allocations: 134 MB / 436.6 MB, free: 13.73 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 71.88 kB / 0.6051 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3591, allocations: 84.67 MB / 0.6878 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00766/0.3668, allocations: 6.258 MB / 0.6939 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1704/0.5371, allocations: 153.7 MB / 0.844 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.5384, allocations: 31.88 kB / 0.844 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.5394, allocations: 321 kB / 0.8443 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.5418, allocations: 0.6681 MB / 0.8449 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.5447, allocations: 1.294 MB / 0.8462 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002602/0.5473, allocations: 2.325 MB / 0.8485 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.5485, allocations: 0.7467 MB / 0.8492 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009999/0.5495, allocations: 0.7863 MB / 0.85 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009179/0.5504, allocations: 0.7933 MB / 0.8507 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.5506, allocations: 184 kB / 0.8509 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.5522, allocations: 0.9481 MB / 0.8518 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004274/0.5526, allocations: 498.4 kB / 0.8523 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007731/0.5534, allocations: 0.8937 MB / 0.8532 GB, free: 12.65 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.5565, allocations: 2.732 MB / 0.8559 GB, free: 9.906 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5565, allocations: 0 / 0.8559 GB, free: 9.906 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5565, allocations: 0 / 0.8559 GB, free: 9.906 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.5565, allocations: 0 / 0.8559 GB, free: 9.906 MB / 0.67 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.003554/0.56, allocations: 2.237 MB / 0.858 GB, free: 7.609 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.5601, allocations: 8.031 kB / 0.8581 GB, free: 7.602 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002404/0.5603, allocations: 198.8 kB / 0.8582 GB, free: 7.398 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.5622, allocations: 371.1 kB / 0.8586 GB, free: 7.035 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.5642, allocations: 1.252 MB / 0.8598 GB, free: 5.727 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/0.5643, allocations: 98.69 kB / 0.8599 GB, free: 5.629 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.5644, allocations: 136 kB / 0.86 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.567, allocations: 1.52 MB / 0.8615 GB, free: 3.883 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.567, allocations: 4 kB / 0.8615 GB, free: 3.879 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.5671, allocations: 52 kB / 0.8616 GB, free: 3.828 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.5672, allocations: 32 kB / 0.8616 GB, free: 3.797 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/0.5705, allocations: 2.055 MB / 0.8636 GB, free: 1.742 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2724/0.8429, allocations: 4.393 MB / 0.8679 GB, free: 170.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.8454, allocations: 1.354 MB / 0.8692 GB, free: 170.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009228/0.8463, allocations: 0.4919 MB / 0.8697 GB, free: 169.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.8464, allocations: 62.52 kB / 0.8698 GB, free: 169.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/0.8479, allocations: 0.7893 MB / 0.8705 GB, free: 169.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=136): time 3.487e-06/0.8479, allocations: 0 / 0.8705 GB, free: 169.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.00557/0.8534, allocations: 2.115 MB / 0.8726 GB, free: 168.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.8535, allocations: 355.7 kB / 0.8729 GB, free: 168.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.8549, allocations: 1.076 MB / 0.874 GB, free: 167.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.961e-05/0.855, allocations: 49.45 kB / 0.874 GB, free: 167.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.8554, allocations: 0.624 MB / 0.8747 GB, free: 167.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.8557, allocations: 474.5 kB / 0.8751 GB, free: 167.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004146/0.8561, allocations: 252.3 kB / 0.8753 GB, free: 167 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.8562, allocations: 356.2 kB / 0.8757 GB, free: 166.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009674/0.8572, allocations: 431.1 kB / 0.8761 GB, free: 166.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.8583, allocations: 0.6453 MB / 0.8767 GB, free: 166.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.8604, allocations: 1.07 MB / 0.8778 GB, free: 165.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8604, allocations: 5.031 kB / 0.8778 GB, free: 165.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003116/0.8635, allocations: 1.425 MB / 0.8792 GB, free: 165.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.8636, allocations: 5.75 kB / 0.8792 GB, free: 165.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.8636, allocations: 2.938 kB / 0.8792 GB, free: 165.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.8646, allocations: 161.3 kB / 0.8793 GB, free: 165 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.8656, allocations: 282.9 kB / 0.8796 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.8686, allocations: 3.287 MB / 0.8828 GB, free: 161.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009744/0.8696, allocations: 152.6 kB / 0.883 GB, free: 161.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/0.8697, allocations: 55.86 kB / 0.883 GB, free: 161.6 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.0005326/0.8702, allocations: 373.9 kB / 0.8834 GB, free: 161.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.8704, allocations: 162 kB / 0.8835 GB, free: 161.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/0.8744, allocations: 1.97 MB / 0.8854 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.8744, allocations: 16.56 kB / 0.8855 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8744, allocations: 0 / 0.8855 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.8744, allocations: 20.19 kB / 0.8855 GB, free: 160.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.8758, allocations: 1.474 MB / 0.8869 GB, free: 159.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8758, allocations: 1.375 kB / 0.8869 GB, free: 159.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.8768, allocations: 278.7 kB / 0.8872 GB, free: 159.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007446/0.8775, allocations: 139.3 kB / 0.8873 GB, free: 159 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-05/0.8776, allocations: 47.53 kB / 0.8874 GB, free: 159 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.8803, allocations: 3.351 MB / 0.8906 GB, free: 155.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8803, allocations: 0 / 0.8906 GB, free: 155.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.8834, allocations: 1.635 MB / 0.8922 GB, free: 154.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005511/0.8839, allocations: 440 kB / 0.8927 GB, free: 154.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.8841, allocations: 33.31 kB / 0.8927 GB, free: 154.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009228/0.885, allocations: 114.1 kB / 0.8928 GB, free: 154.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.8852, allocations: 118.1 kB / 0.8929 GB, free: 154.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.8853, allocations: 60.09 kB / 0.893 GB, free: 154.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007836/0.8861, allocations: 0.7501 MB / 0.8937 GB, free: 154 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8861, allocations: 0 / 0.8937 GB, free: 154 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009853/0.8871, allocations: 469.8 kB / 0.8941 GB, free: 153.9 MB / 0.67 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.004639/0.8917, allocations: 2.734 MB / 0.8968 GB, free: 152.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.8941, allocations: 1.404 MB / 0.8982 GB, free: 150.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8941, allocations: 0 / 0.8982 GB, free: 150.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.8954, allocations: 0.9041 MB / 0.8991 GB, free: 149.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.897, allocations: 0.5564 MB / 0.8996 GB, free: 149.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.9117, allocations: 10.46 MB / 0.9098 GB, free: 138.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.9123, allocations: 1.282 MB / 0.9111 GB, free: 137.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001208/0.9135, allocations: 499.8 kB / 0.9116 GB, free: 136.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/0.9141, allocations: 0.6593 MB / 0.9122 GB, free: 136.1 MB / 0.67 GB Notification: Performance of SimCode: time 8.41e-07/0.9141, allocations: 0 / 0.9122 GB, free: 136.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06324/0.9774, allocations: 36.42 MB / 0.9478 GB, free: 100.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.46, allocations: 8 kB / 0.9478 GB, free: 100.1 MB / 0.67 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: 17.872907352168113] Failed to read output from testmodel.py, exit status != 0: 14.685014890041202 14.693886725 14.135381767 Calling exit ...