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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 100.2 kB / 16.35 MB, free: 5.824 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.001105/0.001105, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7677/0.7677, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4202, allocations: 80.91 MB / 0.5858 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002821/0.4231, allocations: 1.432 MB / 0.5872 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004472/0.4236, allocations: 187.3 kB / 0.5873 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.4236, allocations: 2.125 kB / 0.5873 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.4237, allocations: 9.594 kB / 0.5874 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.4239, allocations: 24.94 kB / 0.5874 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.4241, allocations: 52.52 kB / 0.5874 GB, free: 24.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.4242, allocations: 50.03 kB / 0.5875 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4244, allocations: 7.469 kB / 0.5875 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.795e-05/0.4244, allocations: 24.62 kB / 0.5875 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.4245, allocations: 17.23 kB / 0.5875 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.4245, allocations: 4.062 kB / 0.5875 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.4246, allocations: 4.875 kB / 0.5875 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.4246, allocations: 14.89 kB / 0.5875 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.4246, allocations: 18.05 kB / 0.5876 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.806e-05/0.4247, allocations: 39.69 kB / 0.5876 GB, free: 24.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4248, allocations: 5.562 kB / 0.5876 GB, free: 24.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4248, allocations: 0 / 0.5876 GB, free: 24.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.4248, allocations: 1.25 kB / 0.5876 GB, free: 24.33 MB / 446.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.0004455/0.4252, allocations: 352.5 kB / 0.5879 GB, free: 23.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4253, allocations: 12.36 kB / 0.588 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.4253, allocations: 3.531 kB / 0.588 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.22e-05/0.4254, allocations: 167 kB / 0.5881 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.4254, allocations: 1.344 kB / 0.5881 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.4254, allocations: 3.562 kB / 0.5881 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.4256, allocations: 72.62 kB / 0.5882 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4256, allocations: 5 kB / 0.5882 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4256, allocations: 5.406 kB / 0.5882 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.4256, allocations: 1.812 kB / 0.5882 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.859e-05/0.4257, allocations: 15.8 kB / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.426, allocations: 262.6 kB / 0.5885 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.4261, allocations: 44.78 kB / 0.5885 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.4262, allocations: 17.52 kB / 0.5885 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.4262, allocations: 0 / 0.5885 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.4263, allocations: 67.52 kB / 0.5886 GB, free: 23.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.4263, allocations: 1.062 kB / 0.5886 GB, free: 23.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001908/0.4265, allocations: 80.25 kB / 0.5887 GB, free: 23.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4266, allocations: 103.9 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.131e-05/0.4266, allocations: 108.9 kB / 0.5889 GB, free: 22.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.4266, allocations: 26.8 kB / 0.5889 GB, free: 22.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.4267, allocations: 86.2 kB / 0.589 GB, free: 22.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.4267, allocations: 15.34 kB / 0.589 GB, free: 22.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.4268, allocations: 23.39 kB / 0.589 GB, free: 22.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.4268, allocations: 312.8 kB / 0.5893 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.4269, allocations: 14.77 kB / 0.5893 GB, free: 22.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.35e-05/0.4269, allocations: 32.2 kB / 0.5894 GB, free: 22.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.427, allocations: 29.25 kB / 0.5894 GB, free: 22.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.427, allocations: 3.938 kB / 0.5894 GB, free: 22.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.109e-05/0.4271, allocations: 57.41 kB / 0.5894 GB, free: 22.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4271, allocations: 5.25 kB / 0.5895 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4271, allocations: 1.625 kB / 0.5895 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4271, allocations: 5.031 kB / 0.5895 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.4272, allocations: 9.688 kB / 0.5895 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4272, allocations: 0 / 0.5895 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.4273, allocations: 18.11 kB / 0.5895 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.4273, allocations: 1.094 kB / 0.5895 GB, free: 22.37 MB / 446.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 7.629e-05/0.4274, allocations: 120.5 kB / 0.5896 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.4274, allocations: 1.625 kB / 0.5896 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.4275, allocations: 12.58 kB / 0.5896 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4275, allocations: 1.688 kB / 0.5896 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4275, allocations: 0 / 0.5896 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4275, allocations: 0 / 0.5896 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.02e-05/0.4276, allocations: 169.5 kB / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4276, allocations: 0 / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.4276, allocations: 4.281 kB / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4276, allocations: 1.625 kB / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.4276, allocations: 3.984 kB / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4276, allocations: 11.12 kB / 0.5898 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4277, allocations: 0 / 0.5898 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.4278, allocations: 91.69 kB / 0.5899 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.4278, allocations: 89.38 kB / 0.59 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.4278, allocations: 1.125 kB / 0.59 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.4279, allocations: 9.328 kB / 0.59 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.428, allocations: 10.27 kB / 0.59 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.428, allocations: 2.062 kB / 0.59 GB, free: 21.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.028e-05/0.428, allocations: 81.53 kB / 0.5901 GB, free: 21.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.428, allocations: 0 / 0.5901 GB, free: 21.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.4282, allocations: 13.16 kB / 0.5901 GB, free: 21.74 MB / 446.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.0001016/0.4283, allocations: 105.4 kB / 0.5902 GB, free: 21.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.4285, allocations: 29.91 kB / 0.5902 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4285, allocations: 3.188 kB / 0.5902 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.4285, allocations: 16.95 kB / 0.5902 GB, free: 21.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.4287, allocations: 13.44 kB / 0.5902 GB, free: 21.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.429, allocations: 108.8 kB / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.4291, allocations: 0.679 MB / 0.591 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.4292, allocations: 9.656 kB / 0.591 GB, free: 20.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.4292, allocations: 14.59 kB / 0.591 GB, free: 20.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4292, allocations: 3.938 kB / 0.591 GB, free: 20.8 MB / 446.1 MB Notification: Performance of Templates: time 0.002754/0.432, allocations: 0.8683 MB / 0.5919 GB, free: 20.06 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)