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.0007413/0.0007449, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0007829/0.0007829, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.721/0.721, allocations: 132.3 MB / 423.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003064, allocations: 12.91 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4211, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001527/0.4227, allocations: 1.148 MB / 0.5843 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.4231, allocations: 171.8 kB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.4232, allocations: 0.8438 kB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.4232, allocations: 5.297 kB / 0.5845 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.4234, allocations: 26.16 kB / 0.5845 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.4236, allocations: 42.61 kB / 0.5845 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.4237, allocations: 44.89 kB / 0.5846 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.4238, allocations: 4.469 kB / 0.5846 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.4239, allocations: 21.25 kB / 0.5846 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.4239, allocations: 14.62 kB / 0.5846 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.424, allocations: 6.812 kB / 0.5846 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/0.424, allocations: 2.281 kB / 0.5846 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.424, allocations: 8.75 kB / 0.5846 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.4241, allocations: 29.95 kB / 0.5846 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.496e-05/0.4241, allocations: 33.11 kB / 0.5847 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4242, allocations: 0 / 0.5847 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4242, allocations: 5.125 kB / 0.5847 GB, free: 2.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.4242, allocations: 0 / 0.5847 GB, free: 2.926 MB / 430.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.0004524/0.4246, allocations: 339.1 kB / 0.585 GB, free: 2.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4247, allocations: 9.344 kB / 0.585 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.4247, allocations: 32.48 kB / 0.585 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.4248, allocations: 6.484 kB / 0.5851 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.411e-05/0.4249, allocations: 175.5 kB / 0.5852 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4249, allocations: 5.25 kB / 0.5852 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.4249, allocations: 6.281 kB / 0.5852 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.425, allocations: 62.47 kB / 0.5853 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4251, allocations: 3.938 kB / 0.5853 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4251, allocations: 5.312 kB / 0.5853 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4251, allocations: 0.6562 kB / 0.5853 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.4251, allocations: 13.36 kB / 0.5853 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.4255, allocations: 275.1 kB / 0.5856 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.098e-05/0.4256, allocations: 33.41 kB / 0.5856 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.4256, allocations: 18.31 kB / 0.5856 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.4256, allocations: 0 / 0.5856 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.4258, allocations: 67.14 kB / 0.5857 GB, free: 1.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4258, allocations: 0 / 0.5857 GB, free: 1.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001951/0.426, allocations: 76.91 kB / 0.5858 GB, free: 1.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4261, allocations: 104.5 kB / 0.5859 GB, free: 1.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.646e-05/0.4261, allocations: 108.9 kB / 0.586 GB, free: 1.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.4261, allocations: 29.7 kB / 0.586 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.4262, allocations: 82.61 kB / 0.5861 GB, free: 1.457 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.4262, allocations: 14.98 kB / 0.5861 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.4262, allocations: 4 kB / 0.5861 GB, free: 1.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.4263, allocations: 317.5 kB / 0.5864 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.4263, allocations: 11.02 kB / 0.5864 GB, free: 1.121 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.4263, allocations: 31.44 kB / 0.5864 GB, free: 1.094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.4264, allocations: 14.31 kB / 0.5864 GB, free: 1.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4264, allocations: 0 / 0.5864 GB, free: 1.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.995e-05/0.4265, allocations: 59.66 kB / 0.5865 GB, free: 1.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4265, allocations: 4.844 kB / 0.5865 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4265, allocations: 1.125 kB / 0.5865 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4265, allocations: 8.016 kB / 0.5865 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.4266, allocations: 6.984 kB / 0.5865 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.4266, allocations: 5.828 kB / 0.5865 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.4267, allocations: 10.36 kB / 0.5865 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.4267, allocations: 5.844 kB / 0.5865 GB, free: 1.027 MB / 430.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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.92e-05/0.4268, allocations: 115.4 kB / 0.5867 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.4269, allocations: 6.453 kB / 0.5867 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.4269, allocations: 12.83 kB / 0.5867 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4269, allocations: 1.422 kB / 0.5867 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4269, allocations: 0.875 kB / 0.5867 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4269, allocations: 4.609 kB / 0.5867 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.879e-05/0.427, allocations: 167.9 kB / 0.5868 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.427, allocations: 0 / 0.5868 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.4271, allocations: 2.469 kB / 0.5868 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4271, allocations: 1.875 kB / 0.5868 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.4271, allocations: 4.688 kB / 0.5868 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4271, allocations: 0.7031 kB / 0.5869 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4271, allocations: 1.812 kB / 0.5869 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.4272, allocations: 92.33 kB / 0.5869 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.4273, allocations: 87.77 kB / 0.587 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4273, allocations: 0.9375 kB / 0.587 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4274, allocations: 11.5 kB / 0.587 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.4274, allocations: 7.484 kB / 0.587 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.4275, allocations: 2.516 kB / 0.587 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.4275, allocations: 94.8 kB / 0.5871 GB, free: 428 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4275, allocations: 0 / 0.5871 GB, free: 428 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001875/0.4277, allocations: 8.719 kB / 0.5871 GB, free: 428 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003768/0.4281, allocations: 0.6281 MB / 0.5878 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.4282, allocations: 33.56 kB / 0.5878 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4282, allocations: 4 kB / 0.5878 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.4283, allocations: 14.34 kB / 0.5878 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.4284, allocations: 3.516 kB / 0.5878 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007043/0.4292, allocations: 399.6 kB / 0.5882 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.4294, allocations: 0.6871 MB / 0.5889 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.4295, allocations: 9.594 kB / 0.5889 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.4295, allocations: 10.5 kB / 0.5889 GB, free: 14.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4295, allocations: 0.875 kB / 0.5889 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.4428, allocations: 1.512 MB / 0.5904 GB, free: 14.55 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007003/0.4435, allocations: 205.2 kB / 0.5906 GB, free: 14.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.12, allocations: 0 / 0.5906 GB, free: 14.32 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: