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.0008523/0.0008524, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.00465/0.00465, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.175/1.175, allocations: 223.3 MB / 240.3 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 0.6728/0.6728, allocations: 132.3 MB / 423.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 11.98 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3108, allocations: 81.57 MB / 0.5838 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001211/0.312, allocations: 1.168 MB / 0.5849 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003118/0.3124, allocations: 183.4 kB / 0.5851 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.3124, allocations: 0 / 0.5851 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.3124, allocations: 5.109 kB / 0.5851 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.3126, allocations: 14.67 kB / 0.5851 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.3128, allocations: 50.78 kB / 0.5851 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.3129, allocations: 51.55 kB / 0.5852 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.802e-05/0.3129, allocations: 4.719 kB / 0.5852 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.729e-05/0.313, allocations: 16.91 kB / 0.5852 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.3131, allocations: 23.19 kB / 0.5852 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3131, allocations: 1.594 kB / 0.5852 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.3131, allocations: 2.094 kB / 0.5852 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.3131, allocations: 12.59 kB / 0.5852 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.3132, allocations: 42.61 kB / 0.5853 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.643e-05/0.3132, allocations: 37.59 kB / 0.5853 GB, free: 2.941 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3133, allocations: 8.75 kB / 0.5853 GB, free: 2.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3133, allocations: 0 / 0.5853 GB, free: 2.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3133, allocations: 0 / 0.5853 GB, free: 2.934 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.0003436/0.3136, allocations: 343.8 kB / 0.5857 GB, free: 2.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3137, allocations: 9.5 kB / 0.5857 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.3137, allocations: 36.16 kB / 0.5857 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.3137, allocations: 3.953 kB / 0.5857 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/0.3138, allocations: 169 kB / 0.5859 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3138, allocations: 1.031 kB / 0.5859 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.3138, allocations: 2.906 kB / 0.5859 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.314, allocations: 71.64 kB / 0.5859 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.314, allocations: 7.875 kB / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.314, allocations: 0.6562 kB / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.314, allocations: 1.281 kB / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.314, allocations: 13.81 kB / 0.586 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.3143, allocations: 262.4 kB / 0.5862 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.83e-05/0.3144, allocations: 49.69 kB / 0.5863 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.3145, allocations: 18.05 kB / 0.5863 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.3145, allocations: 0 / 0.5863 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.3146, allocations: 67.12 kB / 0.5863 GB, free: 1.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3146, allocations: 0.9375 kB / 0.5863 GB, free: 1.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.3148, allocations: 73.69 kB / 0.5864 GB, free: 1.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.3148, allocations: 104.7 kB / 0.5865 GB, free: 1.688 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.199e-05/0.3149, allocations: 107.5 kB / 0.5866 GB, free: 1.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.3149, allocations: 26.67 kB / 0.5866 GB, free: 1.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.359e-05/0.3149, allocations: 90.38 kB / 0.5867 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.315, allocations: 15.02 kB / 0.5867 GB, free: 1.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.315, allocations: 11.38 kB / 0.5867 GB, free: 1.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.259e-05/0.315, allocations: 318 kB / 0.5871 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.3151, allocations: 10.28 kB / 0.5871 GB, free: 1.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.3151, allocations: 39.47 kB / 0.5871 GB, free: 1.078 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.3152, allocations: 29.97 kB / 0.5871 GB, free: 1.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3152, allocations: 0.7031 kB / 0.5871 GB, free: 1.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.134e-05/0.3153, allocations: 55.2 kB / 0.5872 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3153, allocations: 6.672 kB / 0.5872 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3153, allocations: 0 / 0.5872 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.3153, allocations: 3.938 kB / 0.5872 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.3154, allocations: 10.91 kB / 0.5872 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.3154, allocations: 3.938 kB / 0.5872 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3155, allocations: 15.36 kB / 0.5872 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3155, allocations: 1.938 kB / 0.5872 GB, free: 1.004 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 (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 5.271e-05/0.3155, allocations: 119.7 kB / 0.5873 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.3156, allocations: 6.312 kB / 0.5873 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.3156, allocations: 5.094 kB / 0.5873 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3156, allocations: 1.219 kB / 0.5873 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3156, allocations: 0.7031 kB / 0.5873 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3156, allocations: 0 / 0.5873 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.49e-05/0.3157, allocations: 175.8 kB / 0.5875 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3157, allocations: 4 kB / 0.5875 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.3157, allocations: 4 kB / 0.5875 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3157, allocations: 0 / 0.5875 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3157, allocations: 1.703 kB / 0.5875 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3157, allocations: 0 / 0.5875 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3158, allocations: 0.6875 kB / 0.5875 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.3159, allocations: 93.44 kB / 0.5876 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.3159, allocations: 87.64 kB / 0.5877 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3159, allocations: 5.578 kB / 0.5877 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.316, allocations: 18.33 kB / 0.5877 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.3161, allocations: 4.391 kB / 0.5877 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.3161, allocations: 6.359 kB / 0.5877 GB, free: 480 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.541e-05/0.3161, allocations: 86.67 kB / 0.5878 GB, free: 400 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3161, allocations: 0 / 0.5878 GB, free: 400 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.3163, allocations: 9.438 kB / 0.5878 GB, free: 400 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 (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.0002876/0.3166, allocations: 0.6294 MB / 0.5884 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.94e-05/0.3167, allocations: 32.89 kB / 0.5885 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3167, allocations: 0 / 0.5885 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.3168, allocations: 14.69 kB / 0.5885 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.3169, allocations: 7.547 kB / 0.5885 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/0.3178, allocations: 1.178 MB / 0.5896 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.318, allocations: 0.679 MB / 0.5903 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.225e-05/0.318, allocations: 5.641 kB / 0.5903 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.3181, allocations: 14.75 kB / 0.5903 GB, free: 13.9 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3181, allocations: 0 / 0.5903 GB, free: 13.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1784/0.4965, allocations: 1.515 MB / 0.5918 GB, free: 13.74 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.4967, allocations: 213.4 kB / 0.592 GB, free: 13.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/1.945, allocations: 1.828 kB / 0.592 GB, free: 13.48 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/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)