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.001304/0.001304, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001779/0.001779, allocations: 213.9 kB / 22.25 MB, free: 4.855 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.801 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.8343/0.8343, allocations: 134 MB / 446.4 MB, free: 9.941 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.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001995/0.001995, allocations: 65.77 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1674, allocations: 85.91 MB / 0.7024 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002826/0.1702, allocations: 1.455 MB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004454/0.1707, allocations: 187.4 kB / 0.704 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.1707, allocations: 0 / 0.704 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.1708, allocations: 0 / 0.704 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.171, allocations: 15.86 kB / 0.704 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.1712, allocations: 63.36 kB / 0.7041 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1713, allocations: 51.83 kB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.1714, allocations: 11.94 kB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.1714, allocations: 23.92 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.1715, allocations: 19.92 kB / 0.7042 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1715, allocations: 4 kB / 0.7042 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.1716, allocations: 4 kB / 0.7042 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.1716, allocations: 11.97 kB / 0.7042 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.1716, allocations: 19.92 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.1717, allocations: 39.88 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1717, allocations: 0 / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1718, allocations: 0 / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.1718, allocations: 0 / 0.7042 GB, free: 15.16 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.0005363/0.1723, allocations: 274.3 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1723, allocations: 16.03 kB / 0.7045 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.1724, allocations: 34.75 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.1724, allocations: 4.891 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1725, allocations: 106.5 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1725, allocations: 4.375 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1726, allocations: 384 / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1727, allocations: 124.2 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1728, allocations: 3.938 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1728, allocations: 0 / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1728, allocations: 7.938 kB / 0.7048 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.1728, allocations: 11.98 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.1732, allocations: 236 kB / 0.705 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1733, allocations: 42.55 kB / 0.7051 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.1734, allocations: 16.84 kB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.1734, allocations: 0 / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.1735, allocations: 67.38 kB / 0.7052 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1735, allocations: 3.938 kB / 0.7052 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002003/0.1737, allocations: 73.61 kB / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.1738, allocations: 106.8 kB / 0.7053 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.1739, allocations: 109.8 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1739, allocations: 29.7 kB / 0.7055 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.174, allocations: 80.14 kB / 0.7055 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.174, allocations: 19.84 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.174, allocations: 17.7 kB / 0.7056 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1742, allocations: 318.8 kB / 0.7059 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.1742, allocations: 8 kB / 0.7059 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.1743, allocations: 85.97 kB / 0.706 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.1743, allocations: 33.16 kB / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1744, allocations: 4 kB / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.731e-05/0.1744, allocations: 57.64 kB / 0.7061 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1745, allocations: 12.03 kB / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1745, allocations: 3.984 kB / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1745, allocations: 3.984 kB / 0.7061 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.1746, allocations: 4 kB / 0.7061 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1746, allocations: 0 / 0.7061 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1747, allocations: 14.38 kB / 0.7061 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1747, allocations: 0 / 0.7061 GB, free: 13.02 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.356e-05/0.1748, allocations: 117.8 kB / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.1748, allocations: 3.953 kB / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.1748, allocations: 7.688 kB / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1748, allocations: 4 kB / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1748, allocations: 0 / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1748, allocations: 3.984 kB / 0.7062 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.1749, allocations: 140.7 kB / 0.7064 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1749, allocations: 3.938 kB / 0.7064 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.175, allocations: 4 kB / 0.7064 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.175, allocations: 0 / 0.7064 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.175, allocations: 0 / 0.7064 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.175, allocations: 0 / 0.7064 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.175, allocations: 0 / 0.7064 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1751, allocations: 93.05 kB / 0.7065 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.1752, allocations: 23.81 kB / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1752, allocations: 0 / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1753, allocations: 15.98 kB / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.1753, allocations: 0 / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1753, allocations: 4 kB / 0.7065 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.1754, allocations: 91.33 kB / 0.7066 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1754, allocations: 0 / 0.7066 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001829/0.1756, allocations: 8 kB / 0.7066 GB, free: 12.43 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.0004777/0.176, allocations: 0.6319 MB / 0.7072 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.1761, allocations: 28.27 kB / 0.7072 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1761, allocations: 0 / 0.7072 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.1762, allocations: 15.94 kB / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.1763, allocations: 8 kB / 0.7073 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1775, allocations: 1.168 MB / 0.7084 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.857e-05/0.1775, allocations: 67.2 kB / 0.7085 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.1776, allocations: 4 kB / 0.7085 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.1776, allocations: 19.44 kB / 0.7085 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1776, allocations: 0 / 0.7085 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.2072, allocations: 2.31 MB / 0.7107 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.84, allocations: 12.23 kB / 0.7108 GB, free: 8.188 MB / 0.5294 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.336719973944128] Failed to read output from testmodel.py, exit status != 0: 10.940120482351631 10.956588343 10.781890102 Calling exit ...