Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.0009957/0.0009957, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.002313, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001066/0.001066, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.00241, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.974/0.974, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08834/1.062, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8005/0.8005, allocations: 155.3 MB / 399.2 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2651/1.066, allocations: 49.12 MB / 448.4 MB, free: 6.066 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 1.094 kB / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.3e-05, allocations: 6.75 kB / 449.7 MB, free: 4.758 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002308/0.002331, allocations: 1.566 MB / 451.3 MB, free: 3.211 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003083/0.00264, allocations: 180.2 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.002674, allocations: 0 / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.002695, allocations: 0.5625 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.002812, allocations: 19.81 kB / 451.5 MB, free: 3.02 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.002964, allocations: 65.25 kB / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.003068, allocations: 60.19 kB / 451.6 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.935e-05/0.003138, allocations: 9.656 kB / 451.6 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.765e-05/0.003225, allocations: 34.05 kB / 451.6 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.003297, allocations: 13.73 kB / 451.6 MB, free: 2.863 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.003321, allocations: 10.34 kB / 451.7 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.003334, allocations: 4 kB / 451.7 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.003353, allocations: 5.641 kB / 451.7 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.003421, allocations: 13.86 kB / 451.7 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.57e-05/0.003516, allocations: 41.69 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/0.00353, allocations: 0 / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003531, allocations: 1.75 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.003547, allocations: 4.875 kB / 451.7 MB, free: 2.793 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000411/0.003958, allocations: 250.6 kB / 452 MB, free: 2.523 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.003988, allocations: 12.03 kB / 452 MB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.004019, allocations: 6.906 kB / 452 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.034e-05/0.004099, allocations: 109.8 kB / 452.1 MB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.004113, allocations: 12.36 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.004125, allocations: 6.109 kB / 452.1 MB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.004259, allocations: 128.9 kB / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.004266, allocations: 1.391 kB / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.004275, allocations: 4.375 kB / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.00428, allocations: 1.438 kB / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.045e-05/0.004311, allocations: 7.938 kB / 452.3 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.004527, allocations: 164.2 kB / 452.4 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.004588, allocations: 29.67 kB / 452.4 MB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.00461, allocations: 16.94 kB / 452.5 MB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.004616, allocations: 64 / 452.5 MB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.953e-05/0.004716, allocations: 60 kB / 452.5 MB, free: 1.891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004717, allocations: 3.938 kB / 452.5 MB, free: 1.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001158/0.004833, allocations: 56.09 kB / 452.6 MB, free: 1.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.004861, allocations: 55.41 kB / 452.6 MB, free: 1.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.004918, allocations: 106.7 kB / 452.7 MB, free: 1.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.004938, allocations: 29.7 kB / 452.8 MB, free: 1.609 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.00497, allocations: 88.7 kB / 452.9 MB, free: 1.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.004989, allocations: 7.938 kB / 452.9 MB, free: 1.512 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.005028, allocations: 31.12 kB / 452.9 MB, free: 1.477 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.005103, allocations: 314.8 kB / 453.2 MB, free: 1.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.005115, allocations: 4 kB / 453.2 MB, free: 1.156 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.748e-05/0.005162, allocations: 77.97 kB / 453.3 MB, free: 1.059 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.005195, allocations: 17.75 kB / 453.3 MB, free: 1.039 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005197, allocations: 0 / 453.3 MB, free: 1.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.135e-05/0.005278, allocations: 54.62 kB / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.005291, allocations: 7.984 kB / 453.4 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.005297, allocations: 3.938 kB / 453.4 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.005304, allocations: 0.5312 kB / 453.4 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.00537, allocations: 9.312 kB / 453.4 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.005372, allocations: 0 / 453.4 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.005428, allocations: 7.984 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.005434, allocations: 0.6562 kB / 453.4 MB, free: 0.9531 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.208e-05/0.005496, allocations: 113.8 kB / 453.5 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.005507, allocations: 5.219 kB / 453.5 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.005536, allocations: 7.625 kB / 453.5 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.005538, allocations: 3.984 kB / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.005541, allocations: 2 kB / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005544, allocations: 4 kB / 453.5 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.052e-05/0.005614, allocations: 62.34 kB / 453.6 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005615, allocations: 1.156 kB / 453.6 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.005636, allocations: 11.98 kB / 453.6 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.005662, allocations: 11.92 kB / 453.6 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005664, allocations: 0.7188 kB / 453.6 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.005671, allocations: 8 kB / 453.6 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.005673, allocations: 5.375 kB / 453.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.005674, allocations: 0 / 453.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.414e-05/0.005748, allocations: 74.78 kB / 453.7 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.005764, allocations: 0.5938 kB / 453.7 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/0.005816, allocations: 7.984 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.00584, allocations: 5.562 kB / 453.7 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.005849, allocations: 8 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.557e-05/0.005865, allocations: 12.84 kB / 453.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005865, allocations: 0 / 453.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.006005, allocations: 8.719 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.277e-05/0.006088, allocations: 77.02 kB / 453.8 MB, free: 492 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.064e-05/0.006169, allocations: 34.16 kB / 453.8 MB, free: 456 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.006173, allocations: 0 / 453.8 MB, free: 456 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.006197, allocations: 12.86 kB / 453.8 MB, free: 440 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.982e-05/0.006277, allocations: 16.55 kB / 453.9 MB, free: 424 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/0.00701, allocations: 135 kB / 454 MB, free: 268 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.285e-05/0.007043, allocations: 63.16 kB / 454.1 MB, free: 184 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.495e-05/0.007078, allocations: 10.08 kB / 454.1 MB, free: 176 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/0.007168, allocations: 71.34 kB / 454.1 MB, free: 104 kB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007169, allocations: 0.625 kB / 454.1 MB, free: 104 kB / 426.7 MB Notification: Performance of Templates: time 0.002872/0.01004, allocations: 1.033 MB / 455.2 MB, free: 15.14 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4509981963783503]