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.001379/0.001379, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001541/0.001541, allocations: 219.5 kB / 23.03 MB, free: 4.922 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8605/0.8605, allocations: 134 MB / 447.2 MB, free: 9.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="cs",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.001894/0.001894, allocations: 65.31 kB / 0.6193 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1662, allocations: 85.91 MB / 0.7032 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002668/0.1688, allocations: 1.458 MB / 0.7046 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004019/0.1692, allocations: 183.4 kB / 0.7048 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.1693, allocations: 0 / 0.7048 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.1693, allocations: 4 kB / 0.7048 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1695, allocations: 11.88 kB / 0.7048 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.1697, allocations: 63.22 kB / 0.7048 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1698, allocations: 47.91 kB / 0.7049 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.1699, allocations: 15.92 kB / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.1699, allocations: 23.81 kB / 0.7049 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.17, allocations: 23.91 kB / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.17, allocations: 4 kB / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.17, allocations: 4 kB / 0.7049 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.17, allocations: 11.98 kB / 0.705 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.1701, allocations: 19.92 kB / 0.705 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.1702, allocations: 47.86 kB / 0.705 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1702, allocations: 0 / 0.705 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1702, allocations: 0 / 0.705 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1702, allocations: 0 / 0.705 GB, free: 15.12 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.0005223/0.1707, allocations: 270.3 kB / 0.7053 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1708, allocations: 12.03 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.122e-05/0.1708, allocations: 192 / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.1708, allocations: 30.75 kB / 0.7053 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1708, allocations: 12.89 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.171, allocations: 114.5 kB / 0.7054 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.171, allocations: 4.312 kB / 0.7054 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.171, allocations: 384 / 0.7054 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1712, allocations: 124 kB / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1712, allocations: 0 / 0.7056 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.1712, allocations: 4 kB / 0.7056 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1712, allocations: 0 / 0.7056 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.1713, allocations: 12 kB / 0.7056 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.1717, allocations: 235.9 kB / 0.7058 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1718, allocations: 42.55 kB / 0.7058 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.1718, allocations: 16.86 kB / 0.7059 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.1718, allocations: 0 / 0.7059 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.172, allocations: 63.48 kB / 0.7059 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.172, allocations: 0 / 0.7059 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002205/0.1722, allocations: 77.61 kB / 0.706 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.1723, allocations: 102.8 kB / 0.7061 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.1724, allocations: 105.8 kB / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1724, allocations: 25.7 kB / 0.7062 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.1725, allocations: 84.14 kB / 0.7063 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1725, allocations: 23.83 kB / 0.7063 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.1726, allocations: 21.66 kB / 0.7063 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1727, allocations: 326.8 kB / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.1727, allocations: 4 kB / 0.7067 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.1728, allocations: 89.97 kB / 0.7067 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.1729, allocations: 33.17 kB / 0.7068 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1729, allocations: 0 / 0.7068 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.829e-05/0.173, allocations: 57.62 kB / 0.7068 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.173, allocations: 8 kB / 0.7068 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.173, allocations: 0 / 0.7068 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.173, allocations: 4.031 kB / 0.7068 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.1731, allocations: 4 kB / 0.7068 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1731, allocations: 0 / 0.7068 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1732, allocations: 15.98 kB / 0.7069 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1732, allocations: 0 / 0.7069 GB, free: 12.98 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.823e-05/0.1733, allocations: 117.8 kB / 0.707 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.1733, allocations: 7.953 kB / 0.707 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.1733, allocations: 11.62 kB / 0.707 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1733, allocations: 0 / 0.707 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1733, allocations: 0 / 0.707 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1733, allocations: 4 kB / 0.707 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.1735, allocations: 136.7 kB / 0.7071 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1735, allocations: 0 / 0.7071 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.1735, allocations: 4 kB / 0.7071 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1735, allocations: 0 / 0.7071 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1735, allocations: 3.984 kB / 0.7071 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1735, allocations: 0 / 0.7071 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1735, allocations: 4 kB / 0.7071 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1736, allocations: 85.06 kB / 0.7072 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.1737, allocations: 15.94 kB / 0.7072 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1737, allocations: 4 kB / 0.7072 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.1738, allocations: 11.98 kB / 0.7072 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.1738, allocations: 7.984 kB / 0.7073 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1739, allocations: 8.062 kB / 0.7073 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.1739, allocations: 83.22 kB / 0.7073 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1739, allocations: 0 / 0.7073 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001865/0.1741, allocations: 12 kB / 0.7074 GB, free: 12.41 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.0004624/0.1746, allocations: 0.6321 MB / 0.708 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.1747, allocations: 31.92 kB / 0.708 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1747, allocations: 4 kB / 0.708 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.1747, allocations: 15.98 kB / 0.708 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.1749, allocations: 4 kB / 0.708 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.176, allocations: 1.168 MB / 0.7092 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.896e-05/0.1761, allocations: 67.2 kB / 0.7092 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.1761, allocations: 4 kB / 0.7092 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.1762, allocations: 15.42 kB / 0.7092 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1762, allocations: 4 kB / 0.7093 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.198, allocations: 1.968 MB / 0.7112 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.75, allocations: 10.17 kB / 0.7112 GB, free: 8.512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.353883333038539] Failed to read output from testmodel.py, exit status != 0: 10.90566972491797 10.921902774 10.748787857 Calling exit ...