Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001511/0.001511, allocations: 191 kB / 17.29 MB, free: 5.516 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.594/1.594, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002338/0.002338, allocations: 289.4 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.147/1.147, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003023/0.003023, allocations: 95.14 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2455, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.004277/0.2499, allocations: 1.482 MB / 0.683 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.251, allocations: 474.8 kB / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.2511, allocations: 0 / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.055e-05/0.2512, allocations: 0 / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.2517, allocations: 31.78 kB / 0.6835 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.2518, allocations: 11.98 kB / 0.6835 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.252, allocations: 47.8 kB / 0.6836 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.2522, allocations: 11.98 kB / 0.6836 GB, free: 5.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2523, allocations: 19.94 kB / 0.6836 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.2525, allocations: 35.83 kB / 0.6837 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.2525, allocations: 4 kB / 0.6837 GB, free: 5.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.2525, allocations: 4 kB / 0.6837 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.2526, allocations: 4 kB / 0.6837 GB, free: 5.344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.2526, allocations: 27.86 kB / 0.6837 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2528, allocations: 43.81 kB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2528, allocations: 0 / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2528, allocations: 0 / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2528, allocations: 0 / 0.6837 GB, free: 5.273 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.0007339/0.2536, allocations: 355.4 kB / 0.6841 GB, free: 4.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2536, allocations: 8.031 kB / 0.6841 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.2537, allocations: 8.844 kB / 0.6841 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.2539, allocations: 176.3 kB / 0.6843 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.2539, allocations: 384 / 0.6843 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2539, allocations: 4.359 kB / 0.6843 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.2541, allocations: 54 kB / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.2541, allocations: 0 / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2541, allocations: 0 / 0.6843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2542, allocations: 4 kB / 0.6843 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.672e-05/0.2542, allocations: 23.98 kB / 0.6843 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.2548, allocations: 276.7 kB / 0.6846 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.255, allocations: 46.56 kB / 0.6846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.255, allocations: 16.86 kB / 0.6847 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.2551, allocations: 0 / 0.6847 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.2553, allocations: 67.48 kB / 0.6847 GB, free: 4.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.2553, allocations: 0 / 0.6847 GB, free: 4.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002705/0.2556, allocations: 89.55 kB / 0.6848 GB, free: 3.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.2556, allocations: 51.41 kB / 0.6849 GB, free: 3.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.2557, allocations: 113.8 kB / 0.685 GB, free: 3.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2558, allocations: 25.7 kB / 0.685 GB, free: 3.781 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.2558, allocations: 80.91 kB / 0.6851 GB, free: 3.699 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.2559, allocations: 19.8 kB / 0.6851 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.2559, allocations: 21.72 kB / 0.6851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2561, allocations: 322.7 kB / 0.6854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.2561, allocations: 12 kB / 0.6854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.2562, allocations: 12.38 kB / 0.6854 GB, free: 3.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.2563, allocations: 40.78 kB / 0.6855 GB, free: 3.262 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2563, allocations: 0 / 0.6855 GB, free: 3.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001178/0.2564, allocations: 61.61 kB / 0.6855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2564, allocations: 11.98 kB / 0.6856 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2564, allocations: 0 / 0.6856 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2565, allocations: 4 kB / 0.6856 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.2565, allocations: 8 kB / 0.6856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.2566, allocations: 0 / 0.6856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.2566, allocations: 0 / 0.6856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.2566, allocations: 4 kB / 0.6856 GB, free: 3.168 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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001158/0.2568, allocations: 125.7 kB / 0.6857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.2568, allocations: 0 / 0.6857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.2568, allocations: 7.969 kB / 0.6857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2568, allocations: 8 kB / 0.6857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2568, allocations: 0 / 0.6857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2569, allocations: 0 / 0.6857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.257, allocations: 185.4 kB / 0.6859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2571, allocations: 0 / 0.6859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.2571, allocations: 4 kB / 0.6859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2571, allocations: 0 / 0.6859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2571, allocations: 4 kB / 0.6859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2571, allocations: 0 / 0.6859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2571, allocations: 0 / 0.6859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.2573, allocations: 105.1 kB / 0.686 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.2574, allocations: 77.11 kB / 0.6861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2574, allocations: 4 kB / 0.6861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/0.2575, allocations: 0 / 0.6861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.2575, allocations: 11.92 kB / 0.6861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2575, allocations: 0 / 0.6861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.422e-05/0.2576, allocations: 91.27 kB / 0.6862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2576, allocations: 0 / 0.6862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.2578, allocations: 15.91 kB / 0.6862 GB, free: 2.445 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0001462/0.258, allocations: 111.2 kB / 0.6863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.2581, allocations: 43.86 kB / 0.6863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2581, allocations: 0 / 0.6863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.2582, allocations: 19.94 kB / 0.6863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.2583, allocations: 4 kB / 0.6863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.2588, allocations: 142.2 kB / 0.6865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.2591, allocations: 0.6846 MB / 0.6872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.417e-05/0.2592, allocations: 3.984 kB / 0.6872 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.2592, allocations: 11.44 kB / 0.6872 GB, free: 1.371 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2592, allocations: 0 / 0.6872 GB, free: 1.371 MB / 494.1 MB Notification: Performance of Templates: time 0.003144/0.2624, allocations: 0.5488 MB / 0.6877 GB, free: 0.8594 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)