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.006572/0.006572, allocations: 102.3 kB / 15.73 MB, free: 6.023 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.001819/0.001819, allocations: 196 kB / 16.68 MB, free: 5.938 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8224/0.8224, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 67.28 kB / 0.5858 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1285, allocations: 81.03 MB / 0.6649 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002178/0.1307, allocations: 1.426 MB / 0.6663 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003587/0.131, allocations: 179.4 kB / 0.6664 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.1311, allocations: 0 / 0.6664 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.1311, allocations: 11.92 kB / 0.6665 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.1313, allocations: 23.86 kB / 0.6665 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.1315, allocations: 59.41 kB / 0.6665 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.186e-05/0.1316, allocations: 47.86 kB / 0.6666 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.376e-05/0.1316, allocations: 3.984 kB / 0.6666 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.1317, allocations: 27.91 kB / 0.6666 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.1318, allocations: 19.92 kB / 0.6666 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1318, allocations: 4 kB / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.1318, allocations: 8 kB / 0.6666 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.1318, allocations: 4 kB / 0.6666 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.1319, allocations: 27.91 kB / 0.6667 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.415e-05/0.132, allocations: 48.03 kB / 0.6667 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.132, allocations: 0 / 0.6667 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.132, allocations: 0 / 0.6667 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.132, allocations: 0 / 0.6667 GB, free: 3.766 MB / 0.4981 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.0004594/0.1324, allocations: 343.4 kB / 0.667 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1325, allocations: 9.109 kB / 0.6671 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.1325, allocations: 46.67 kB / 0.6671 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.1326, allocations: 4.938 kB / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1327, allocations: 172.3 kB / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1327, allocations: 384 / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.1327, allocations: 384 / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1329, allocations: 68.81 kB / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1329, allocations: 3.938 kB / 0.6673 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.1329, allocations: 0 / 0.6673 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1329, allocations: 8 kB / 0.6673 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.471e-05/0.1329, allocations: 15.92 kB / 0.6674 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.1333, allocations: 261 kB / 0.6676 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.17e-05/0.1334, allocations: 42.5 kB / 0.6676 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.1334, allocations: 16.86 kB / 0.6677 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.1334, allocations: 0 / 0.6677 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.1336, allocations: 71.41 kB / 0.6677 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1336, allocations: 0 / 0.6677 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001777/0.1338, allocations: 73.67 kB / 0.6678 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.1338, allocations: 106.8 kB / 0.6679 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.1339, allocations: 105.8 kB / 0.668 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1339, allocations: 29.7 kB / 0.668 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.134, allocations: 84.09 kB / 0.6681 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.134, allocations: 11.95 kB / 0.6681 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.1341, allocations: 25.7 kB / 0.6682 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1342, allocations: 310.8 kB / 0.6684 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/0.1342, allocations: 19.92 kB / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/0.1343, allocations: 30.58 kB / 0.6685 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.309e-05/0.1343, allocations: 33.16 kB / 0.6685 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1343, allocations: 4 kB / 0.6685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001004/0.1345, allocations: 61.69 kB / 0.6686 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1345, allocations: 7.984 kB / 0.6686 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1345, allocations: 0 / 0.6686 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.1345, allocations: 0 / 0.6686 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.533e-05/0.1345, allocations: 11.94 kB / 0.6686 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.1346, allocations: 0 / 0.6686 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1347, allocations: 11.92 kB / 0.6686 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1347, allocations: 3.938 kB / 0.6686 GB, free: 1.543 MB / 0.4981 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 8.015e-05/0.1348, allocations: 117.8 kB / 0.6687 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.1348, allocations: 8 kB / 0.6687 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.1348, allocations: 7.5 kB / 0.6688 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1348, allocations: 3.984 kB / 0.6688 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1348, allocations: 0 / 0.6688 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1348, allocations: 0 / 0.6688 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.135, allocations: 165.6 kB / 0.6689 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.135, allocations: 0 / 0.6689 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.135, allocations: 4 kB / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.135, allocations: 0 / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.135, allocations: 3.984 kB / 0.6689 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.135, allocations: 0 / 0.6689 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.135, allocations: 11.98 kB / 0.6689 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.1352, allocations: 92.95 kB / 0.669 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.1352, allocations: 89.09 kB / 0.6691 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1352, allocations: 0 / 0.6691 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.1353, allocations: 7.984 kB / 0.6691 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1354, allocations: 11.92 kB / 0.6691 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.1354, allocations: 0 / 0.6691 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.334e-05/0.1354, allocations: 95.34 kB / 0.6692 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1355, allocations: 0 / 0.6692 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001738/0.1356, allocations: 12 kB / 0.6692 GB, free: 0.8203 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.0004089/0.136, allocations: 0.6202 MB / 0.6698 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.1362, allocations: 36.2 kB / 0.6699 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1362, allocations: 4 kB / 0.6699 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.1362, allocations: 15.98 kB / 0.6699 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1363, allocations: 9.984 kB / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009952/0.1373, allocations: 1.187 MB / 0.6711 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1376, allocations: 0.6768 MB / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.1377, allocations: 4 kB / 0.6717 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.1377, allocations: 19.42 kB / 0.6717 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1377, allocations: 0 / 0.6717 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.1669, allocations: 1.745 MB / 0.6734 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.78, allocations: 10.23 kB / 0.6735 GB, free: 12.5 MB / 0.5137 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)