Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001356/0.001356, allocations: 78.09 kB / 19.75 MB, free: 2.055 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.001657/0.001657, allocations: 157.2 kB / 23 MB, free: 4.949 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.383/1.383, allocations: 177.2 MB / 203.4 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 179] 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.7772/0.7772, allocations: 101.3 MB / 361.1 MB, free: 10.1 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [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.002212/0.002212, allocations: 65.77 kB / 0.5356 GB, free: 5.48 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 FrontEnd - Absyn->SCode: time 0.1628/0.165, allocations: 85.88 MB / 0.6195 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003303/0.1683, allocations: 1.465 MB / 0.6209 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004704/0.1687, allocations: 179.4 kB / 0.6211 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.1688, allocations: 0 / 0.6211 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.1688, allocations: 0 / 0.6211 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.1691, allocations: 31.84 kB / 0.6211 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.1693, allocations: 51.86 kB / 0.6212 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.1694, allocations: 47.92 kB / 0.6212 GB, free: 92 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1695, allocations: 11.98 kB / 0.6212 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1696, allocations: 31.86 kB / 0.6213 GB, free: 48 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.363e-05/0.1697, allocations: 23.91 kB / 0.6213 GB, free: 24 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.1697, allocations: 4 kB / 0.6213 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.1697, allocations: 4 kB / 0.6213 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.1698, allocations: 7.984 kB / 0.6213 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1698, allocations: 20 kB / 0.6213 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.1699, allocations: 43.73 kB / 0.6214 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1699, allocations: 0 / 0.6214 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1699, allocations: 0 / 0.6214 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1699, allocations: 4 kB / 0.6214 GB, free: 15.94 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000556/0.1705, allocations: 274.3 kB / 0.6216 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1705, allocations: 12.03 kB / 0.6216 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.1706, allocations: 4.891 kB / 0.6217 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1707, allocations: 106.5 kB / 0.6218 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1708, allocations: 384 / 0.6218 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1708, allocations: 4.375 kB / 0.6218 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.171, allocations: 124.2 kB / 0.6219 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.171, allocations: 192 / 0.6219 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.171, allocations: 3.938 kB / 0.6219 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.171, allocations: 4 kB / 0.6219 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.679e-05/0.1711, allocations: 19.92 kB / 0.6219 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.1715, allocations: 216.5 kB / 0.6221 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1716, allocations: 38.5 kB / 0.6221 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.1717, allocations: 16.94 kB / 0.6222 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1717, allocations: 3.938 kB / 0.6222 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.1719, allocations: 63.39 kB / 0.6222 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1719, allocations: 0 / 0.6222 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002503/0.1721, allocations: 77.61 kB / 0.6223 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.1722, allocations: 106.8 kB / 0.6224 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1723, allocations: 101.9 kB / 0.6225 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1723, allocations: 29.7 kB / 0.6225 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.1724, allocations: 88.12 kB / 0.6226 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1724, allocations: 11.84 kB / 0.6226 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.1725, allocations: 25.7 kB / 0.6226 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.1726, allocations: 314.8 kB / 0.6229 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.1727, allocations: 12 kB / 0.623 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.339e-05/0.1728, allocations: 81.97 kB / 0.623 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.1728, allocations: 24.86 kB / 0.6231 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1728, allocations: 0 / 0.6231 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001218/0.173, allocations: 73.91 kB / 0.6231 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.173, allocations: 6.344 kB / 0.6231 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.173, allocations: 0 / 0.6231 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.173, allocations: 0 / 0.6231 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.1731, allocations: 20.05 kB / 0.6232 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1731, allocations: 3.984 kB / 0.6232 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1732, allocations: 7.984 kB / 0.6232 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.1732, allocations: 0 / 0.6232 GB, free: 13.87 MB / 0.5294 GB 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 9.395e-05/0.1733, allocations: 113.8 kB / 0.6233 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.1733, allocations: 15.89 kB / 0.6233 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.1733, allocations: 3.688 kB / 0.6233 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1733, allocations: 0 / 0.6233 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1733, allocations: 4 kB / 0.6233 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1733, allocations: 0 / 0.6233 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1735, allocations: 105.3 kB / 0.6234 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1735, allocations: 0 / 0.6234 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.1735, allocations: 11.88 kB / 0.6234 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1735, allocations: 0 / 0.6234 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1735, allocations: 3.984 kB / 0.6234 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1735, allocations: 4 kB / 0.6234 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1735, allocations: 4 kB / 0.6234 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.1736, allocations: 85.12 kB / 0.6235 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.1737, allocations: 15.88 kB / 0.6235 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1737, allocations: 7.938 kB / 0.6235 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1738, allocations: 7.984 kB / 0.6235 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1739, allocations: 7.984 kB / 0.6235 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1739, allocations: 4 kB / 0.6235 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.1739, allocations: 79.28 kB / 0.6236 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1739, allocations: 0 / 0.6236 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001913/0.1741, allocations: 16 kB / 0.6236 GB, free: 13.33 MB / 0.5294 GB 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 0.000124/0.1742, allocations: 107.4 kB / 0.6237 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.1744, allocations: 27.98 kB / 0.6238 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1744, allocations: 0 / 0.6238 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.1744, allocations: 15.98 kB / 0.6238 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.1746, allocations: 4 kB / 0.6238 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.1749, allocations: 121.4 kB / 0.6239 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.437e-05/0.1749, allocations: 67.23 kB / 0.624 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.175, allocations: 11.98 kB / 0.624 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.175, allocations: 12.5 kB / 0.624 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.175, allocations: 0 / 0.624 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.003563/0.1786, allocations: 0.928 MB / 0.6249 GB, free: 12.02 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.146382143255323] Failed to read output from testmodel.py, exit status != 0: 0.1866927589289844 0.20218591700000002 0.028970707000000002 Calling exit ...