Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001347, allocations: 112.3 kB / 16.37 MB, free: 6.465 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.001309/0.001309, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.6/1.6, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002368/0.002368, allocations: 282.5 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.045/1.045, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001759, allocations: 95.56 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2227, allocations: 86.97 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003143/0.2259, allocations: 1.602 MB / 0.6832 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.2269, allocations: 0.5345 MB / 0.6837 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.227, allocations: 4 kB / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.227, allocations: 3.938 kB / 0.6837 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.2273, allocations: 42.58 kB / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.2275, allocations: 43.89 kB / 0.6838 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.2276, allocations: 115.6 kB / 0.6839 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2278, allocations: 19.94 kB / 0.6839 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.2279, allocations: 51.83 kB / 0.684 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.228, allocations: 51.81 kB / 0.684 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.228, allocations: 8 kB / 0.684 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.023e-05/0.2281, allocations: 8 kB / 0.684 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.2281, allocations: 23.91 kB / 0.6841 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.2282, allocations: 43.73 kB / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.2284, allocations: 87.75 kB / 0.6842 GB, free: 4.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2284, allocations: 4 kB / 0.6842 GB, free: 4.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.2284, allocations: 0 / 0.6842 GB, free: 4.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2284, allocations: 0 / 0.6842 GB, free: 4.84 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007589/0.2292, allocations: 399.2 kB / 0.6846 GB, free: 4.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2292, allocations: 8.031 kB / 0.6846 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.2293, allocations: 12.83 kB / 0.6846 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.2294, allocations: 184.2 kB / 0.6848 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.2295, allocations: 12.36 kB / 0.6848 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.2295, allocations: 8.312 kB / 0.6848 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.2297, allocations: 93.83 kB / 0.6849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.2297, allocations: 0 / 0.6849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.2297, allocations: 4 kB / 0.6849 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2297, allocations: 0 / 0.6849 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.2299, allocations: 55.91 kB / 0.6849 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.2304, allocations: 348.5 kB / 0.6853 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.2307, allocations: 102.7 kB / 0.6854 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.569e-05/0.2308, allocations: 44.83 kB / 0.6854 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2308, allocations: 3.938 kB / 0.6854 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.231, allocations: 95.36 kB / 0.6855 GB, free: 3.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.2311, allocations: 0 / 0.6855 GB, free: 3.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003425/0.2314, allocations: 149.5 kB / 0.6856 GB, free: 3.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2314, allocations: 51.41 kB / 0.6857 GB, free: 3.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.2315, allocations: 130.2 kB / 0.6858 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.2316, allocations: 25.7 kB / 0.6858 GB, free: 2.949 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.2316, allocations: 92.28 kB / 0.6859 GB, free: 2.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.2317, allocations: 39.67 kB / 0.686 GB, free: 2.812 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.2317, allocations: 25.7 kB / 0.686 GB, free: 2.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2319, allocations: 326.8 kB / 0.6863 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.2319, allocations: 31.98 kB / 0.6863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-05/0.232, allocations: 27.98 kB / 0.6863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.2321, allocations: 64.84 kB / 0.6864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2321, allocations: 0 / 0.6864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001936/0.2323, allocations: 105.6 kB / 0.6865 GB, free: 2.219 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2323, allocations: 8 kB / 0.6865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.2323, allocations: 0 / 0.6865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2324, allocations: 0 / 0.6865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.2325, allocations: 27.92 kB / 0.6865 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.2325, allocations: 0 / 0.6865 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.2326, allocations: 11.92 kB / 0.6866 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.2326, allocations: 8 kB / 0.6866 GB, free: 2.164 MB / 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.79e-05/0.2327, allocations: 116.8 kB / 0.6867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.2328, allocations: 7.906 kB / 0.6867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.233, allocations: 149.9 kB / 0.6868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.233, allocations: 7.938 kB / 0.6868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2331, allocations: 4 kB / 0.6868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2331, allocations: 3.938 kB / 0.6868 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.2333, allocations: 213.4 kB / 0.687 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2333, allocations: 4 kB / 0.687 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.2333, allocations: 19.98 kB / 0.6871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2334, allocations: 0 / 0.6871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2334, allocations: 0 / 0.6871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2334, allocations: 7.938 kB / 0.6871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2334, allocations: 0 / 0.6871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.2336, allocations: 172.9 kB / 0.6872 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.2337, allocations: 89 kB / 0.6873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.2337, allocations: 8 kB / 0.6873 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2338, allocations: 4 kB / 0.6873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.2339, allocations: 15.97 kB / 0.6874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.2339, allocations: 7.938 kB / 0.6874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.509e-05/0.234, allocations: 103.6 kB / 0.6875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.234, allocations: 0 / 0.6875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.2342, allocations: 24 kB / 0.6875 GB, free: 1.125 MB / 494.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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001452/0.2344, allocations: 107.2 kB / 0.6876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.2346, allocations: 83.91 kB / 0.6877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2346, allocations: 0 / 0.6877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.463e-05/0.2347, allocations: 55.91 kB / 0.6877 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.2349, allocations: 11.34 kB / 0.6877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.2354, allocations: 213.5 kB / 0.6879 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3605/0.5959, allocations: 0.6933 MB / 0.6886 GB, free: 17.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.5961, allocations: 9.734 kB / 0.6886 GB, free: 17.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.5962, allocations: 18.23 kB / 0.6886 GB, free: 17.77 MB / 494.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5962, allocations: 0 / 0.6886 GB, free: 17.77 MB / 494.1 MB Notification: Performance of Templates: time 0.004636/0.6009, allocations: 1.076 MB / 0.6897 GB, free: 17.75 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)