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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_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.001208/0.001208, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 190.3 kB / 16.53 MB, free: 6.391 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8451/0.8451, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 62.66 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1335, allocations: 80.92 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002638/0.1362, allocations: 1.428 MB / 0.5859 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000447/0.1366, allocations: 181 kB / 0.586 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.1367, allocations: 3.938 kB / 0.586 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.1367, allocations: 7.922 kB / 0.5861 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.137, allocations: 19.88 kB / 0.5861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1372, allocations: 52.8 kB / 0.5861 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.279e-05/0.1373, allocations: 55.83 kB / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.1374, allocations: 4 kB / 0.5862 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/0.1374, allocations: 23.92 kB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.1375, allocations: 11.98 kB / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.1375, allocations: 4 kB / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.1376, allocations: 4 kB / 0.5862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.1376, allocations: 23.91 kB / 0.5862 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.1376, allocations: 15.92 kB / 0.5863 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.777e-05/0.1378, allocations: 44.16 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1378, allocations: 4 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1378, allocations: 0 / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.1378, allocations: 3.938 kB / 0.5863 GB, free: 2.539 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.0005068/0.1383, allocations: 339.5 kB / 0.5866 GB, free: 2.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1383, allocations: 11.97 kB / 0.5866 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.1384, allocations: 38.75 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.1384, allocations: 0.9375 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1385, allocations: 176.2 kB / 0.5868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1386, allocations: 4.375 kB / 0.5869 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1386, allocations: 8.375 kB / 0.5869 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1387, allocations: 68.81 kB / 0.5869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1387, allocations: 3.938 kB / 0.5869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1388, allocations: 0 / 0.5869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1388, allocations: 0 / 0.5869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.1388, allocations: 15.94 kB / 0.5869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1392, allocations: 264.9 kB / 0.5872 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.1393, allocations: 42.52 kB / 0.5872 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.1393, allocations: 16.94 kB / 0.5873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.1393, allocations: 0 / 0.5873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.1395, allocations: 71.33 kB / 0.5873 GB, free: 1.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1395, allocations: 4 kB / 0.5873 GB, free: 1.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002/0.1397, allocations: 77.58 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1398, allocations: 106.8 kB / 0.5875 GB, free: 1.098 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.1399, allocations: 101.9 kB / 0.5876 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1399, allocations: 25.7 kB / 0.5876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.1399, allocations: 88.12 kB / 0.5877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1399, allocations: 7.906 kB / 0.5877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.14, allocations: 21.7 kB / 0.5877 GB, free: 0.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.1401, allocations: 322.8 kB / 0.588 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.175e-05/0.1401, allocations: 11.94 kB / 0.5881 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.1402, allocations: 34.56 kB / 0.5881 GB, free: 464 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.236e-05/0.1402, allocations: 28.8 kB / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1403, allocations: 0 / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.827e-05/0.1404, allocations: 57.69 kB / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1404, allocations: 4 kB / 0.5882 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1404, allocations: 0 / 0.5882 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1404, allocations: 8.031 kB / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.1405, allocations: 15.86 kB / 0.5882 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1405, allocations: 0 / 0.5882 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1406, allocations: 8.344 kB / 0.5882 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1406, allocations: 7.984 kB / 0.5882 GB, free: 324 kB / 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 8.291e-05/0.1407, allocations: 117.8 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.1408, allocations: 0 / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.1408, allocations: 7.5 kB / 0.5883 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1408, allocations: 8 kB / 0.5883 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.1408, allocations: 4 kB / 0.5883 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1408, allocations: 0 / 0.5883 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.1409, allocations: 173.6 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.141, allocations: 0 / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.141, allocations: 0 / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.141, allocations: 4 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.141, allocations: 4 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.141, allocations: 0 / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.141, allocations: 0 / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1412, allocations: 92.98 kB / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.1412, allocations: 96.94 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1412, allocations: 0 / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1414, allocations: 11.98 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.1414, allocations: 0 / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1414, allocations: 8 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.1415, allocations: 83.27 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1415, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001963/0.1417, allocations: 16 kB / 0.5888 GB, free: 15.6 MB / 0.4981 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.0003681/0.142, allocations: 0.628 MB / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.1422, allocations: 27.98 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1422, allocations: 0 / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.1422, allocations: 16 kB / 0.5895 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.1424, allocations: 11.94 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009766/0.1434, allocations: 1.169 MB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.1436, allocations: 0.6807 MB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.1436, allocations: 12.06 kB / 0.5913 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.1437, allocations: 11.44 kB / 0.5913 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1437, allocations: 3.938 kB / 0.5913 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.1594, allocations: 1.721 MB / 0.593 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.191/9.351, allocations: 12.95 kB / 0.593 GB, free: 11.31 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)