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.001056/0.001056, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.17/1.17, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6413/0.6413, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 64.02 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.317, allocations: 80.2 MB / 0.5802 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001913/0.319, allocations: 1.432 MB / 0.5816 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003288/0.3193, allocations: 189.7 kB / 0.5818 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.3193, allocations: 0 / 0.5818 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.3194, allocations: 5.625 kB / 0.5818 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.3196, allocations: 23.22 kB / 0.5818 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.3197, allocations: 51.56 kB / 0.5819 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.545e-05/0.3198, allocations: 48.16 kB / 0.5819 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.3198, allocations: 13.7 kB / 0.5819 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.3199, allocations: 25.86 kB / 0.5819 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.32, allocations: 18.19 kB / 0.582 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.32, allocations: 3.719 kB / 0.582 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.32, allocations: 4.094 kB / 0.582 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.32, allocations: 8.375 kB / 0.582 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.3201, allocations: 26 kB / 0.582 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.738e-05/0.3202, allocations: 43.45 kB / 0.582 GB, free: 3.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3202, allocations: 1.094 kB / 0.582 GB, free: 3.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3202, allocations: 0 / 0.582 GB, free: 3.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.3202, allocations: 4 kB / 0.582 GB, free: 3.559 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.0003551/0.3205, allocations: 345.8 kB / 0.5824 GB, free: 3.195 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.3206, allocations: 8.844 kB / 0.5824 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.563e-05/0.3206, allocations: 33.22 kB / 0.5824 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.3206, allocations: 7.266 kB / 0.5824 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.458e-05/0.3207, allocations: 177.5 kB / 0.5826 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3207, allocations: 384 / 0.5826 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.3207, allocations: 1.938 kB / 0.5826 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.3208, allocations: 72.38 kB / 0.5827 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.3209, allocations: 3.938 kB / 0.5827 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3209, allocations: 1.031 kB / 0.5827 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3209, allocations: 1.953 kB / 0.5827 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.3209, allocations: 16.16 kB / 0.5827 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.3212, allocations: 264.8 kB / 0.5829 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.255e-05/0.3213, allocations: 46.44 kB / 0.583 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.3213, allocations: 17.61 kB / 0.583 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-06/0.3213, allocations: 0 / 0.583 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.3214, allocations: 63.41 kB / 0.5831 GB, free: 2.484 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.3214, allocations: 3.984 kB / 0.5831 GB, free: 2.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001562/0.3216, allocations: 74.52 kB / 0.5831 GB, free: 2.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.3216, allocations: 108.1 kB / 0.5832 GB, free: 2.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.658e-05/0.3217, allocations: 108.1 kB / 0.5833 GB, free: 2.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.3217, allocations: 27.73 kB / 0.5834 GB, free: 2.168 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.962e-05/0.3217, allocations: 81.58 kB / 0.5834 GB, free: 2.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.3218, allocations: 14.58 kB / 0.5835 GB, free: 2.074 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3218, allocations: 22.11 kB / 0.5835 GB, free: 2.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.078e-05/0.3218, allocations: 316.9 kB / 0.5838 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.3219, allocations: 11.55 kB / 0.5838 GB, free: 1.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.3219, allocations: 38.95 kB / 0.5838 GB, free: 1.699 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.3219, allocations: 29.44 kB / 0.5839 GB, free: 1.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3219, allocations: 0.75 kB / 0.5839 GB, free: 1.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.857e-05/0.322, allocations: 62.72 kB / 0.5839 GB, free: 1.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.322, allocations: 5.438 kB / 0.5839 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.322, allocations: 0.6562 kB / 0.5839 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.3221, allocations: 1.031 kB / 0.5839 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.3221, allocations: 6.922 kB / 0.5839 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3221, allocations: 9.641 kB / 0.5839 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.3222, allocations: 7.812 kB / 0.5839 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3222, allocations: 9.062 kB / 0.584 GB, free: 1.617 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 4.692e-05/0.3223, allocations: 124.8 kB / 0.5841 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.3223, allocations: 2.375 kB / 0.5841 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.3223, allocations: 5.516 kB / 0.5841 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3223, allocations: 1.219 kB / 0.5841 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3223, allocations: 0 / 0.5841 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3223, allocations: 4.609 kB / 0.5841 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.552e-05/0.3224, allocations: 170.8 kB / 0.5842 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3224, allocations: 0.75 kB / 0.5842 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.3224, allocations: 3.797 kB / 0.5843 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3225, allocations: 0 / 0.5843 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.3225, allocations: 1.391 kB / 0.5843 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3225, allocations: 0.8125 kB / 0.5843 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3225, allocations: 0.5938 kB / 0.5843 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.395e-05/0.3226, allocations: 98.17 kB / 0.5843 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.3226, allocations: 87.34 kB / 0.5844 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3226, allocations: 5.453 kB / 0.5844 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.3227, allocations: 8.938 kB / 0.5844 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.3228, allocations: 3.078 kB / 0.5844 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.3228, allocations: 2.625 kB / 0.5844 GB, free: 1.094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.505e-05/0.3228, allocations: 86.78 kB / 0.5845 GB, free: 1.016 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3228, allocations: 0 / 0.5845 GB, free: 1.016 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000167/0.323, allocations: 8.625 kB / 0.5845 GB, free: 1.016 MB / 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.0002321/0.3232, allocations: 0.6335 MB / 0.5852 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.525e-05/0.3233, allocations: 32.62 kB / 0.5852 GB, free: 400 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3233, allocations: 0.9688 kB / 0.5852 GB, free: 400 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.3234, allocations: 14.59 kB / 0.5852 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.3235, allocations: 4.125 kB / 0.5852 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/0.3243, allocations: 1.171 MB / 0.5864 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.3244, allocations: 0.6788 MB / 0.587 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.187e-05/0.3245, allocations: 9.891 kB / 0.587 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.3245, allocations: 15.67 kB / 0.587 GB, free: 14.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3245, allocations: 0 / 0.587 GB, free: 14.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.269/0.5935, allocations: 1.695 MB / 0.5887 GB, free: 14.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/7.519, allocations: 14.59 kB / 0.5887 GB, free: 14.19 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)