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.001459/0.001459, allocations: 110 kB / 18.93 MB, free: 2.945 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.00184/0.00184, allocations: 193.2 kB / 22.23 MB, free: 5.156 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.483/1.483, allocations: 225.6 MB / 251 MB, free: 13 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.8915/0.8915, allocations: 134 MB / 440.3 MB, free: 232 kB / 334.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: translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 73.09 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2022, allocations: 84.73 MB / 0.6935 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009485/0.2117, allocations: 6.275 MB / 0.6996 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6129/0.8246, allocations: 153.8 MB / 0.8498 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.8262, allocations: 43.62 kB / 0.8499 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.8275, allocations: 323.8 kB / 0.8502 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.8303, allocations: 0.6631 MB / 0.8508 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.8343, allocations: 1.34 MB / 0.8521 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00439/0.8387, allocations: 2.332 MB / 0.8544 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.8407, allocations: 0.733 MB / 0.8551 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.8426, allocations: 0.8058 MB / 0.8559 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.8443, allocations: 0.7933 MB / 0.8567 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007561/0.8451, allocations: 188 kB / 0.8569 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.848, allocations: 0.9442 MB / 0.8578 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008634/0.8488, allocations: 498.4 kB / 0.8583 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.8505, allocations: 0.8976 MB / 0.8591 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005434/0.8559, allocations: 2.731 MB / 0.8618 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.8559, allocations: 0 / 0.8618 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8559, allocations: 0 / 0.8618 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001123/0.856, allocations: 0 / 0.8618 GB, free: 5.855 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.005851/0.8619, allocations: 2.15 MB / 0.8639 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.8619, allocations: 8.031 kB / 0.8639 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.864, allocations: 363.8 kB / 0.8643 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.8663, allocations: 1.164 MB / 0.8654 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.783e-05/0.8664, allocations: 94.69 kB / 0.8655 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.8666, allocations: 139.9 kB / 0.8656 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.8697, allocations: 1.524 MB / 0.8671 GB, free: 240 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.8698, allocations: 0 / 0.8671 GB, free: 240 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.8699, allocations: 60 kB / 0.8672 GB, free: 180 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.8699, allocations: 35.94 kB / 0.8672 GB, free: 144 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/0.8736, allocations: 2.043 MB / 0.8692 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007993/0.8815, allocations: 4.324 MB / 0.8734 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/0.8845, allocations: 1.345 MB / 0.8747 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.8856, allocations: 0.4935 MB / 0.8752 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.8857, allocations: 61.38 kB / 0.8753 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/0.8873, allocations: 0.789 MB / 0.876 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=136): time 3.466e-06/0.8873, allocations: 4 kB / 0.876 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of matching and sorting (n=136): time 0.006553/0.8939, allocations: 1.963 MB / 0.878 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000305/0.8942, allocations: 359.5 kB / 0.8783 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.8961, allocations: 1.075 MB / 0.8793 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.8963, allocations: 53.7 kB / 0.8794 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007203/0.897, allocations: 0.6154 MB / 0.88 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005537/0.8976, allocations: 476 kB / 0.8805 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004813/0.8981, allocations: 282.7 kB / 0.8807 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002665/0.8983, allocations: 365.9 kB / 0.8811 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.8995, allocations: 474.3 kB / 0.8815 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.9008, allocations: 0.6574 MB / 0.8822 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.9032, allocations: 1.12 MB / 0.8833 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.9032, allocations: 0 / 0.8833 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004448/0.9077, allocations: 1.521 MB / 0.8847 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.9077, allocations: 7.938 kB / 0.8848 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.9077, allocations: 4 kB / 0.8848 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.9094, allocations: 173.8 kB / 0.8849 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.9113, allocations: 291.7 kB / 0.8852 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006603/0.9179, allocations: 3.093 MB / 0.8882 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.9202, allocations: 151.8 kB / 0.8884 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.9204, allocations: 71.94 kB / 0.8884 GB, free: 9.789 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: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * 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.001322/0.9217, allocations: 383.5 kB / 0.8888 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006278/0.9224, allocations: 155 kB / 0.8889 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007678/0.93, allocations: 1.972 MB / 0.8909 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/0.9301, allocations: 19.94 kB / 0.8909 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.9301, allocations: 0 / 0.8909 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.809e-05/0.9301, allocations: 7.969 kB / 0.8909 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.9335, allocations: 1.447 MB / 0.8923 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.9335, allocations: 0 / 0.8923 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.9352, allocations: 279.6 kB / 0.8926 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/0.9365, allocations: 141.6 kB / 0.8927 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.9366, allocations: 43.97 kB / 0.8928 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006185/0.9428, allocations: 3.141 MB / 0.8958 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9428, allocations: 8 kB / 0.8958 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006312/0.9491, allocations: 1.623 MB / 0.8974 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/0.9508, allocations: 355.7 kB / 0.8978 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000468/0.9512, allocations: 39.95 kB / 0.8978 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.9529, allocations: 115.2 kB / 0.8979 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004229/0.9533, allocations: 125.5 kB / 0.898 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/0.9535, allocations: 59.97 kB / 0.8981 GB, free: 15.58 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00175/0.9552, allocations: 0.7417 MB / 0.8988 GB, free: 14.83 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9552, allocations: 0 / 0.8988 GB, free: 14.83 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002281/0.9575, allocations: 478.9 kB / 0.8993 GB, free: 14.36 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.003049/0.9606, allocations: 0.6451 MB / 0.8999 GB, free: 13.93 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005323/0.9659, allocations: 1.464 MB / 0.9013 GB, free: 12.44 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.9659, allocations: 4 kB / 0.9013 GB, free: 12.44 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002954/0.9689, allocations: 0.9067 MB / 0.9022 GB, free: 11.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/0.9727, allocations: 0.5503 MB / 0.9027 GB, free: 11.01 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.9828, allocations: 3.084 MB / 0.9058 GB, free: 7.887 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.9839, allocations: 1.289 MB / 0.907 GB, free: 6.562 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00178/0.9856, allocations: 0.4957 MB / 0.9075 GB, free: 6.062 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/0.9861, allocations: 183.3 kB / 0.9077 GB, free: 5.883 MB / 0.67 GB Notification: Performance of SimCode: time 1.613e-06/0.9861, allocations: 0 / 0.9077 GB, free: 5.883 MB / 0.67 GB Notification: Performance of Templates: time 0.05153/1.038, allocations: 26.84 MB / 0.9339 GB, free: 11.26 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.949834648519754] Failed to read output from testmodel.py, exit status != 0: 1.0477494839578867 1.066706059 0.207334391 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb05fca17b0>