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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 108 kB / 15.6 MB, free: 132 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.002002/0.002002, allocations: 191 kB / 16.53 MB, free: 6.391 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002597/0.002597, allocations: 275.2 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.118/1.118, allocations: 178.6 MB / 0.5073 GB, free: 4.551 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 99.34 kB / 0.6064 GB, free: 24.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1788, allocations: 89.15 MB / 0.6935 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003164/0.182, allocations: 1.456 MB / 0.6949 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004738/0.1825, allocations: 187.2 kB / 0.6951 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.1826, allocations: 0 / 0.6951 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.1826, allocations: 3.984 kB / 0.6951 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.1829, allocations: 29.23 kB / 0.6951 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.1831, allocations: 57.59 kB / 0.6952 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.6e-05/0.1832, allocations: 48.61 kB / 0.6952 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.1833, allocations: 12.95 kB / 0.6952 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.1834, allocations: 27.91 kB / 0.6953 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.554e-05/0.1834, allocations: 15.92 kB / 0.6953 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.1835, allocations: 12 kB / 0.6953 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.1835, allocations: 4 kB / 0.6953 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.1835, allocations: 11.92 kB / 0.6953 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.1836, allocations: 23.92 kB / 0.6953 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1837, allocations: 48.09 kB / 0.6954 GB, free: 2.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1837, allocations: 3.984 kB / 0.6954 GB, free: 2.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1837, allocations: 0 / 0.6954 GB, free: 2.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.1837, allocations: 0 / 0.6954 GB, free: 2.398 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005922/0.1843, allocations: 359.4 kB / 0.6957 GB, free: 1.996 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1844, allocations: 8.031 kB / 0.6957 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.1844, allocations: 4.938 kB / 0.6957 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.1846, allocations: 172.3 kB / 0.6959 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1846, allocations: 8.375 kB / 0.6959 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.1847, allocations: 384 / 0.6959 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1848, allocations: 76.75 kB / 0.696 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1848, allocations: 192 / 0.696 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1849, allocations: 7.938 kB / 0.696 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1849, allocations: 0 / 0.696 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.1849, allocations: 23.98 kB / 0.696 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.1853, allocations: 272.8 kB / 0.6963 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.1855, allocations: 38.56 kB / 0.6963 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.1855, allocations: 16.86 kB / 0.6963 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1855, allocations: 4 kB / 0.6963 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.1857, allocations: 63.48 kB / 0.6964 GB, free: 1.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1857, allocations: 0 / 0.6964 GB, free: 1.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002399/0.186, allocations: 77.7 kB / 0.6965 GB, free: 1.105 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.1861, allocations: 102.8 kB / 0.6966 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.1862, allocations: 105.8 kB / 0.6967 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1862, allocations: 25.7 kB / 0.6967 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.1863, allocations: 92.14 kB / 0.6968 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.1863, allocations: 11.75 kB / 0.6968 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.1863, allocations: 29.64 kB / 0.6968 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1865, allocations: 318.7 kB / 0.6971 GB, free: 384 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.1865, allocations: 11.98 kB / 0.6971 GB, free: 372 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.1866, allocations: 38.56 kB / 0.6972 GB, free: 324 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.973e-05/0.1867, allocations: 32.78 kB / 0.6972 GB, free: 288 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1867, allocations: 4.031 kB / 0.6972 GB, free: 284 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001036/0.1868, allocations: 54.06 kB / 0.6973 GB, free: 224 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1868, allocations: 8 kB / 0.6973 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1868, allocations: 0 / 0.6973 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1868, allocations: 64 / 0.6973 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.1869, allocations: 8 kB / 0.6973 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1869, allocations: 0 / 0.6973 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.187, allocations: 11.98 kB / 0.6973 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1871, allocations: 4 kB / 0.6973 GB, free: 192 kB / 494.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 0.0001066/0.1872, allocations: 121.7 kB / 0.6974 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.1872, allocations: 4 kB / 0.6974 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.1872, allocations: 11.48 kB / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1872, allocations: 0 / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1872, allocations: 0 / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1872, allocations: 0 / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1874, allocations: 173.5 kB / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1875, allocations: 0 / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.1875, allocations: 7.984 kB / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.1875, allocations: 0 / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1875, allocations: 4 kB / 0.6976 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1875, allocations: 4 kB / 0.6976 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1875, allocations: 0 / 0.6976 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.1877, allocations: 89.05 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.1877, allocations: 81.11 kB / 0.6978 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1878, allocations: 3.984 kB / 0.6978 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1879, allocations: 8 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1879, allocations: 15.92 kB / 0.6978 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.1879, allocations: 0 / 0.6978 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.188, allocations: 87.28 kB / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.188, allocations: 0 / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001959/0.1882, allocations: 8 kB / 0.6979 GB, free: 15.48 MB / 0.4981 GB 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.0001238/0.1883, allocations: 107.2 kB / 0.698 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.1885, allocations: 31.98 kB / 0.698 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1885, allocations: 0 / 0.698 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/0.1885, allocations: 19.94 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.1887, allocations: 12.69 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.189, allocations: 127.5 kB / 0.6982 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1893, allocations: 0.6845 MB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.1894, allocations: 4 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.1894, allocations: 15.44 kB / 0.6988 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1894, allocations: 0 / 0.6988 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.003374/0.1928, allocations: 0.8818 MB / 0.6997 GB, free: 13.56 MB / 0.4981 GB 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)