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.0009802/0.0009803, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.007373/0.007373, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.196/1.196, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8166/0.8166, allocations: 135.3 MB / 426.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002596, allocations: 12 kB / 0.5077 GB, free: 4.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1193, allocations: 82.31 MB / 0.5881 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00123/0.1206, allocations: 1.153 MB / 0.5892 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.1209, allocations: 179.4 kB / 0.5894 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.1209, allocations: 0 / 0.5894 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.121, allocations: 0 / 0.5894 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1211, allocations: 23.91 kB / 0.5894 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.1213, allocations: 54.64 kB / 0.5895 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.282e-05/0.1214, allocations: 47.84 kB / 0.5895 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.151e-05/0.1214, allocations: 4 kB / 0.5895 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.1215, allocations: 27.92 kB / 0.5895 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.1215, allocations: 15.97 kB / 0.5895 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1216, allocations: 4 kB / 0.5896 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.1216, allocations: 0 / 0.5896 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.1216, allocations: 15.86 kB / 0.5896 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.1217, allocations: 37.64 kB / 0.5896 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.141e-05/0.1217, allocations: 44.14 kB / 0.5896 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1217, allocations: 0 / 0.5896 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1217, allocations: 3.938 kB / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.746e-06/0.1218, allocations: 0 / 0.5896 GB, free: 0.9414 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.0003727/0.1221, allocations: 339.5 kB / 0.59 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1222, allocations: 8.031 kB / 0.59 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.1222, allocations: 34.75 kB / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.1222, allocations: 4.938 kB / 0.59 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.1223, allocations: 176.2 kB / 0.5902 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1224, allocations: 384 / 0.5902 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.1224, allocations: 384 / 0.5902 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1225, allocations: 76.75 kB / 0.5903 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1225, allocations: 3.938 kB / 0.5903 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1225, allocations: 0 / 0.5903 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1225, allocations: 4 kB / 0.5903 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.1226, allocations: 8 kB / 0.5903 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.1229, allocations: 268.9 kB / 0.5905 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/0.123, allocations: 46.45 kB / 0.5906 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.123, allocations: 16.94 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-06/0.123, allocations: 0 / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.1231, allocations: 59.39 kB / 0.5906 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1232, allocations: 3.938 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001591/0.1233, allocations: 77.67 kB / 0.5907 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1234, allocations: 110.8 kB / 0.5908 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.1234, allocations: 105.8 kB / 0.5909 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1235, allocations: 25.7 kB / 0.591 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.1235, allocations: 80.14 kB / 0.591 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1235, allocations: 19.8 kB / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.1236, allocations: 9.719 kB / 0.5911 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.1236, allocations: 318.8 kB / 0.5914 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.1237, allocations: 11.98 kB / 0.5914 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.1237, allocations: 34.56 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.1238, allocations: 28.8 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1238, allocations: 0 / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.84e-05/0.1239, allocations: 66.06 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.1239, allocations: 4 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1239, allocations: 0 / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.1239, allocations: 3.938 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.124, allocations: 8 kB / 0.5915 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.124, allocations: 4 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1241, allocations: 16.02 kB / 0.5915 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1241, allocations: 0 / 0.5915 GB, free: 14.74 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 6.955e-05/0.1242, allocations: 117.8 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.1242, allocations: 8.094 kB / 0.5917 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.611e-05/0.1242, allocations: 7.484 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1242, allocations: 3.984 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1242, allocations: 0 / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1242, allocations: 4 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.854e-05/0.1243, allocations: 169.6 kB / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1243, allocations: 0 / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.1244, allocations: 7.984 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1244, allocations: 0 / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1244, allocations: 0 / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1244, allocations: 0 / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1244, allocations: 3.938 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1245, allocations: 89.06 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.1246, allocations: 96.94 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1246, allocations: 4 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1247, allocations: 13.86 kB / 0.592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.1247, allocations: 7.922 kB / 0.592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.1247, allocations: 4 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.1248, allocations: 83.28 kB / 0.5921 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1248, allocations: 0 / 0.5921 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001747/0.125, allocations: 8 kB / 0.5921 GB, free: 14.02 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.0003076/0.1253, allocations: 0.6319 MB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.399e-05/0.1254, allocations: 27.98 kB / 0.5928 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1254, allocations: 0 / 0.5928 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.712e-05/0.1254, allocations: 23.92 kB / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1256, allocations: 4 kB / 0.5928 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.1264, allocations: 1.18 MB / 0.594 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.1266, allocations: 0.677 MB / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.812e-05/0.1266, allocations: 4 kB / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.1266, allocations: 15.44 kB / 0.5946 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1266, allocations: 0 / 0.5946 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09854/0.2252, allocations: 1.511 MB / 0.5961 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.2254, allocations: 230 kB / 0.5963 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.872, allocations: 0 / 0.5963 GB, free: 9.73 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)