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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 195.9 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.694/0.694, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 70.97 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1351, allocations: 80.2 MB / 0.5795 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002338/0.1375, allocations: 1.492 MB / 0.581 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003213/0.1378, allocations: 191.3 kB / 0.5811 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.1378, allocations: 3.938 kB / 0.5811 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.1379, allocations: 0 / 0.5811 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.138, allocations: 19.92 kB / 0.5812 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.1382, allocations: 46.69 kB / 0.5812 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.315e-05/0.1383, allocations: 51.83 kB / 0.5813 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.496e-05/0.1383, allocations: 4 kB / 0.5813 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.1384, allocations: 27.92 kB / 0.5813 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.1384, allocations: 11.98 kB / 0.5813 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1385, allocations: 4 kB / 0.5813 GB, free: 7.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.1385, allocations: 4 kB / 0.5813 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.1385, allocations: 15.91 kB / 0.5813 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.1385, allocations: 15.94 kB / 0.5813 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.1386, allocations: 36.14 kB / 0.5814 GB, free: 7.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.1386, allocations: 4 kB / 0.5814 GB, free: 7.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1386, allocations: 0 / 0.5814 GB, free: 7.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.1386, allocations: 7.875 kB / 0.5814 GB, free: 7.207 MB / 494.1 MB 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.0004277/0.1391, allocations: 347.5 kB / 0.5817 GB, free: 6.816 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.1391, allocations: 8.031 kB / 0.5817 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.1391, allocations: 34.73 kB / 0.5818 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.1392, allocations: 8.844 kB / 0.5818 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1393, allocations: 168.3 kB / 0.5819 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1393, allocations: 4.375 kB / 0.5819 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-06/0.1393, allocations: 384 / 0.5819 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1395, allocations: 72.75 kB / 0.582 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1395, allocations: 3.938 kB / 0.582 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1395, allocations: 7.938 kB / 0.582 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.1395, allocations: 0 / 0.582 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.1395, allocations: 15.98 kB / 0.582 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.1399, allocations: 261 kB / 0.5823 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/0.14, allocations: 42.5 kB / 0.5823 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.14, allocations: 16.86 kB / 0.5823 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.14, allocations: 0 / 0.5823 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.1402, allocations: 67.42 kB / 0.5824 GB, free: 5.984 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1402, allocations: 0 / 0.5824 GB, free: 5.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001706/0.1404, allocations: 73.77 kB / 0.5825 GB, free: 5.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1404, allocations: 102.8 kB / 0.5826 GB, free: 5.781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.1405, allocations: 109.8 kB / 0.5827 GB, free: 5.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1405, allocations: 33.7 kB / 0.5827 GB, free: 5.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.1406, allocations: 80.14 kB / 0.5828 GB, free: 5.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.1406, allocations: 3.906 kB / 0.5828 GB, free: 5.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1406, allocations: 29.64 kB / 0.5828 GB, free: 5.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.1407, allocations: 314.8 kB / 0.5831 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.1408, allocations: 15.98 kB / 0.5831 GB, free: 5.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.806e-05/0.1408, allocations: 34.56 kB / 0.5832 GB, free: 5.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.138e-05/0.1409, allocations: 32.78 kB / 0.5832 GB, free: 5.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.1409, allocations: 0 / 0.5832 GB, free: 5.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001055/0.141, allocations: 66.03 kB / 0.5833 GB, free: 5.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.141, allocations: 4 kB / 0.5833 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.141, allocations: 0 / 0.5833 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.141, allocations: 0 / 0.5833 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.1411, allocations: 15.88 kB / 0.5833 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1411, allocations: 4 kB / 0.5833 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.1412, allocations: 15.25 kB / 0.5833 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1412, allocations: 0 / 0.5833 GB, free: 4.988 MB / 494.1 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 7.289e-05/0.1413, allocations: 118.4 kB / 0.5834 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.1413, allocations: 4 kB / 0.5834 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.1414, allocations: 7.484 kB / 0.5834 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1414, allocations: 0 / 0.5834 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.1414, allocations: 0 / 0.5834 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1414, allocations: 0 / 0.5834 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.1415, allocations: 173.6 kB / 0.5836 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1415, allocations: 4 kB / 0.5836 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.1415, allocations: 4 kB / 0.5836 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1415, allocations: 0 / 0.5836 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1416, allocations: 3.984 kB / 0.5836 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1416, allocations: 3.938 kB / 0.5836 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1416, allocations: 0 / 0.5836 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.1417, allocations: 96.91 kB / 0.5837 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.1418, allocations: 89.03 kB / 0.5838 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1418, allocations: 0 / 0.5838 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1419, allocations: 15.98 kB / 0.5838 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.1419, allocations: 7.984 kB / 0.5838 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1419, allocations: 0 / 0.5838 GB, free: 4.367 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.162e-05/0.142, allocations: 87.28 kB / 0.5839 GB, free: 4.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.142, allocations: 0 / 0.5839 GB, free: 4.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001805/0.1422, allocations: 8 kB / 0.5839 GB, free: 4.273 MB / 494.1 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 0.0003639/0.1425, allocations: 0.628 MB / 0.5845 GB, free: 3.617 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.09e-05/0.1426, allocations: 27.98 kB / 0.5845 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1427, allocations: 4 kB / 0.5845 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.1427, allocations: 15.98 kB / 0.5845 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1428, allocations: 8 kB / 0.5846 GB, free: 3.562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.1438, allocations: 1.178 MB / 0.5857 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.144, allocations: 0.6848 MB / 0.5864 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.445e-05/0.144, allocations: 4.281 kB / 0.5864 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.1441, allocations: 11.44 kB / 0.5864 GB, free: 1.574 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1441, allocations: 0 / 0.5864 GB, free: 1.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1457/0.2898, allocations: 1.573 MB / 0.5879 GB, free: 164 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.29, allocations: 223.6 kB / 0.5881 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.941, allocations: 0 / 0.5881 GB, free: 15.9 MB / 0.4981 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)