Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8579/0.8579, allocations: 143.4 MB / 159.2 MB, free: 4.922 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 190.9 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 447.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 103.8 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001831/0.001831, allocations: 277.1 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 79.88 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3094, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002289/0.3117, allocations: 1.487 MB / 0.7694 GB, free: 26.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.312, allocations: 183.4 kB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.3121, allocations: 3.781 kB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.3121, allocations: 4 kB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.3123, allocations: 19.91 kB / 0.7696 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.3124, allocations: 46.81 kB / 0.7696 GB, free: 25.92 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.3125, allocations: 55.78 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.98e-05/0.3126, allocations: 6.672 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.639e-05/0.3127, allocations: 15.98 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.3127, allocations: 27.91 kB / 0.7697 GB, free: 25.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3127, allocations: 0 / 0.7697 GB, free: 25.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.3128, allocations: 4 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.3128, allocations: 3.984 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.3128, allocations: 15.94 kB / 0.7698 GB, free: 25.79 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.734e-05/0.3129, allocations: 47.86 kB / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3129, allocations: 0 / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.3129, allocations: 0 / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.3129, allocations: 0 / 0.7698 GB, free: 25.75 MB / 458.7 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.0004065/0.3134, allocations: 347.4 kB / 0.7701 GB, free: 25.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.3134, allocations: 12.02 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.3134, allocations: 8.875 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.629e-05/0.3135, allocations: 172.2 kB / 0.7703 GB, free: 25.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3135, allocations: 384 / 0.7703 GB, free: 25.13 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.3136, allocations: 384 / 0.7703 GB, free: 25.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3137, allocations: 68.81 kB / 0.7704 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3137, allocations: 4.172 kB / 0.7704 GB, free: 25.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3137, allocations: 7.938 kB / 0.7704 GB, free: 25.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3137, allocations: 4 kB / 0.7704 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.765e-05/0.3138, allocations: 11.98 kB / 0.7704 GB, free: 25.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.3141, allocations: 264.9 kB / 0.7707 GB, free: 24.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3142, allocations: 42.5 kB / 0.7707 GB, free: 24.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.3142, allocations: 20.8 kB / 0.7707 GB, free: 24.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.3143, allocations: 4 kB / 0.7707 GB, free: 24.63 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.3144, allocations: 59.48 kB / 0.7708 GB, free: 24.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.3144, allocations: 0 / 0.7708 GB, free: 24.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.3146, allocations: 77.61 kB / 0.7709 GB, free: 24.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.3146, allocations: 106.8 kB / 0.771 GB, free: 24.35 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.026e-05/0.3147, allocations: 101.8 kB / 0.7711 GB, free: 24.24 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3147, allocations: 29.7 kB / 0.7711 GB, free: 24.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.25e-05/0.3147, allocations: 84.14 kB / 0.7712 GB, free: 24.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.3147, allocations: 19.73 kB / 0.7712 GB, free: 24.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3148, allocations: 25.7 kB / 0.7712 GB, free: 24.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.3148, allocations: 310.8 kB / 0.7715 GB, free: 23.76 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.3149, allocations: 15.98 kB / 0.7715 GB, free: 23.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.3149, allocations: 34.83 kB / 0.7716 GB, free: 23.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.129e-05/0.3149, allocations: 32.78 kB / 0.7716 GB, free: 23.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.315, allocations: 7.969 kB / 0.7716 GB, free: 23.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.812e-05/0.315, allocations: 57.69 kB / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.3151, allocations: 4 kB / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3151, allocations: 0 / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3151, allocations: 0 / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.3151, allocations: 4 kB / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3152, allocations: 4 kB / 0.7717 GB, free: 23.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3153, allocations: 7.984 kB / 0.7717 GB, free: 23.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3153, allocations: 0 / 0.7717 GB, free: 23.57 MB / 458.7 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.278e-05/0.3153, allocations: 125.7 kB / 0.7718 GB, free: 23.44 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.3154, allocations: 7.906 kB / 0.7718 GB, free: 23.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.3154, allocations: 7.5 kB / 0.7718 GB, free: 23.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3154, allocations: 3.984 kB / 0.7718 GB, free: 23.42 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3154, allocations: 0 / 0.7718 GB, free: 23.42 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3154, allocations: 0 / 0.7718 GB, free: 23.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.68e-05/0.3155, allocations: 165.6 kB / 0.772 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3155, allocations: 3.938 kB / 0.772 GB, free: 23.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.3155, allocations: 4 kB / 0.772 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3155, allocations: 0 / 0.772 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3155, allocations: 7.984 kB / 0.772 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3155, allocations: 3.938 kB / 0.772 GB, free: 23.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3155, allocations: 4 kB / 0.772 GB, free: 23.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.3158, allocations: 0.6439 MB / 0.7726 GB, free: 22.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.3158, allocations: 93.03 kB / 0.7727 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.3158, allocations: 4 kB / 0.7727 GB, free: 22.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.3159, allocations: 15.98 kB / 0.7727 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.316, allocations: 11.92 kB / 0.7727 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.316, allocations: 0 / 0.7727 GB, free: 22.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.602e-05/0.316, allocations: 83.28 kB / 0.7728 GB, free: 22.26 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.316, allocations: 4 kB / 0.7728 GB, free: 22.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.3163, allocations: 8 kB / 0.7728 GB, free: 22.25 MB / 458.7 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 7.271e-05/0.3164, allocations: 104.7 kB / 0.7729 GB, free: 22.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.3165, allocations: 31.94 kB / 0.773 GB, free: 22.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3165, allocations: 0 / 0.773 GB, free: 22.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.3165, allocations: 19.98 kB / 0.773 GB, free: 22.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.3167, allocations: 4 kB / 0.773 GB, free: 22.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.317, allocations: 230.3 kB / 0.7732 GB, free: 21.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.397e-05/0.3171, allocations: 0.6818 MB / 0.7739 GB, free: 21.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.917e-05/0.3171, allocations: 8 kB / 0.7739 GB, free: 21.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.3171, allocations: 11.44 kB / 0.7739 GB, free: 21.09 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3171, allocations: 7.875 kB / 0.7739 GB, free: 21.08 MB / 458.7 MB Notification: Performance of Templates: time 0.002414/0.3196, allocations: 0.848 MB / 0.7747 GB, free: 20.25 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)