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.001672/0.001678, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.002511/0.002512, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.049/2.049, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.019/1.019, allocations: 132.2 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005349/0.0005351, allocations: 8 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7654/0.7659, allocations: 81.58 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002467/0.7685, allocations: 1.145 MB / 0.5841 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005554/0.7691, allocations: 159.5 kB / 0.5842 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.7691, allocations: 5.375 kB / 0.5842 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.7692, allocations: 4.734 kB / 0.5842 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.7694, allocations: 18.73 kB / 0.5843 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.7697, allocations: 43.86 kB / 0.5843 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.7698, allocations: 30.83 kB / 0.5843 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.7699, allocations: 7.656 kB / 0.5843 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.77, allocations: 21.61 kB / 0.5844 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.7701, allocations: 14.66 kB / 0.5844 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.7702, allocations: 5.531 kB / 0.5844 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.216e-05/0.7702, allocations: 2.75 kB / 0.5844 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.7702, allocations: 8.234 kB / 0.5844 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.7703, allocations: 29.67 kB / 0.5844 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.7704, allocations: 35.66 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7704, allocations: 0 / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7704, allocations: 0 / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.7704, allocations: 0.75 kB / 0.5845 GB, free: 2.961 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.0005916/0.771, allocations: 343.6 kB / 0.5848 GB, free: 2.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.7711, allocations: 9.5 kB / 0.5848 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.7712, allocations: 36.45 kB / 0.5848 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.7712, allocations: 2.672 kB / 0.5848 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.7714, allocations: 175.4 kB / 0.585 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.7714, allocations: 8.578 kB / 0.585 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.7715, allocations: 2.359 kB / 0.585 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.7717, allocations: 63.19 kB / 0.5851 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.7717, allocations: 4 kB / 0.5851 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.7717, allocations: 4.703 kB / 0.5851 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.7717, allocations: 5.062 kB / 0.5851 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.7718, allocations: 17.56 kB / 0.5851 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.7723, allocations: 265.8 kB / 0.5854 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.7725, allocations: 39.45 kB / 0.5854 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.7725, allocations: 0 / 0.5854 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.7727, allocations: 66.28 kB / 0.5855 GB, free: 1.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.7728, allocations: 0.5938 kB / 0.5855 GB, free: 1.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002941/0.7731, allocations: 69.89 kB / 0.5855 GB, free: 1.852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.7731, allocations: 104.2 kB / 0.5856 GB, free: 1.727 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.7732, allocations: 108.7 kB / 0.5857 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.7732, allocations: 31.27 kB / 0.5858 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.7733, allocations: 84.75 kB / 0.5858 GB, free: 1.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.7733, allocations: 14.56 kB / 0.5858 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.7733, allocations: 4 kB / 0.5859 GB, free: 1.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.7734, allocations: 314.2 kB / 0.5861 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.7735, allocations: 10.03 kB / 0.5862 GB, free: 1.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.062e-05/0.7736, allocations: 39.25 kB / 0.5862 GB, free: 1.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.7736, allocations: 14.94 kB / 0.5862 GB, free: 1.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7736, allocations: 0 / 0.5862 GB, free: 1.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001398/0.7738, allocations: 59.05 kB / 0.5863 GB, free: 1.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.7738, allocations: 6.266 kB / 0.5863 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7738, allocations: 0 / 0.5863 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.7738, allocations: 1.859 kB / 0.5863 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.7739, allocations: 10.33 kB / 0.5863 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.774, allocations: 0 / 0.5863 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.7741, allocations: 15.47 kB / 0.5863 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.7742, allocations: 1.75 kB / 0.5863 GB, free: 1.074 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 0.0001036/0.7743, allocations: 121.8 kB / 0.5864 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.7743, allocations: 7.016 kB / 0.5864 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.7743, allocations: 5.062 kB / 0.5864 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7744, allocations: 5 kB / 0.5864 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.7744, allocations: 0 / 0.5864 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7744, allocations: 1.703 kB / 0.5864 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.7745, allocations: 173.9 kB / 0.5866 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7745, allocations: 0 / 0.5866 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.7746, allocations: 3.594 kB / 0.5866 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.7746, allocations: 5.641 kB / 0.5866 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.7746, allocations: 1.609 kB / 0.5866 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.7746, allocations: 3.984 kB / 0.5866 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7746, allocations: 0.8438 kB / 0.5866 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.7748, allocations: 97.34 kB / 0.5867 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.7749, allocations: 86.97 kB / 0.5868 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.7749, allocations: 1.922 kB / 0.5868 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.7751, allocations: 18.97 kB / 0.5868 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.7752, allocations: 4.266 kB / 0.5868 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.7752, allocations: 2.438 kB / 0.5868 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.351e-05/0.7752, allocations: 86.09 kB / 0.5869 GB, free: 464 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7752, allocations: 0 / 0.5869 GB, free: 464 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.7756, allocations: 9.562 kB / 0.5869 GB, free: 464 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.0004941/0.7761, allocations: 0.6332 MB / 0.5875 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.7763, allocations: 31.73 kB / 0.5876 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7763, allocations: 0 / 0.5876 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.27e-05/0.7764, allocations: 14.81 kB / 0.5876 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.7765, allocations: 2.625 kB / 0.5876 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.7777, allocations: 399.2 kB / 0.588 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.7782, allocations: 0.6887 MB / 0.5886 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.116e-05/0.7783, allocations: 9.391 kB / 0.5886 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.7784, allocations: 11.77 kB / 0.5886 GB, free: 14.75 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.7784, allocations: 0 / 0.5886 GB, free: 14.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.7982, allocations: 1.484 MB / 0.5901 GB, free: 14.61 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.7985, allocations: 203.2 kB / 0.5903 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/3.038, allocations: 4.906 kB / 0.5903 GB, free: 14.36 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: