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.001257/0.001257, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001233/0.001233, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002482/0.002482, allocations: 289.2 kB / 291.5 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.009/1.009, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 95.84 kB / 0.6821 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4342, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002813/0.437, allocations: 1.473 MB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.4378, allocations: 476.6 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.4379, allocations: 0 / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.4379, allocations: 3.984 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.4382, allocations: 35.78 kB / 0.769 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.384e-05/0.4382, allocations: 19.97 kB / 0.769 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.855e-05/0.4383, allocations: 47.8 kB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.935e-05/0.4384, allocations: 4 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.688e-05/0.4385, allocations: 23.92 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.4386, allocations: 31.89 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.4386, allocations: 4 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.4386, allocations: 4 kB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.4386, allocations: 7.938 kB / 0.7691 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.4387, allocations: 19.92 kB / 0.7691 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.4388, allocations: 43.53 kB / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4388, allocations: 0 / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4388, allocations: 3.938 kB / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.4388, allocations: 3.938 kB / 0.7692 GB, free: 1.695 MB / 0.5294 GB 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.0006057/0.4394, allocations: 361.3 kB / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4394, allocations: 12.03 kB / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.4395, allocations: 0.9375 kB / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4396, allocations: 172.3 kB / 0.7697 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4397, allocations: 12.31 kB / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.4397, allocations: 384 / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.4398, allocations: 57.98 kB / 0.7698 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4398, allocations: 0 / 0.7698 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4398, allocations: 8 kB / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4398, allocations: 0 / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.135e-05/0.4399, allocations: 23.92 kB / 0.7698 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.4403, allocations: 264.9 kB / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.4404, allocations: 42.56 kB / 0.7701 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.4404, allocations: 20.84 kB / 0.7701 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.4404, allocations: 0 / 0.7701 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.4406, allocations: 71.42 kB / 0.7702 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4406, allocations: 0 / 0.7702 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002171/0.4408, allocations: 85.62 kB / 0.7703 GB, free: 432 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.4408, allocations: 51.41 kB / 0.7703 GB, free: 368 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4409, allocations: 113.8 kB / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.441, allocations: 25.7 kB / 0.7705 GB, free: 212 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.441, allocations: 80.14 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.441, allocations: 27.83 kB / 0.7706 GB, free: 100 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.4411, allocations: 17.72 kB / 0.7706 GB, free: 76 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4412, allocations: 314.8 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.4413, allocations: 15.98 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.4413, allocations: 19.94 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.818e-05/0.4414, allocations: 24.86 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.4414, allocations: 0 / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001166/0.4415, allocations: 65.64 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4415, allocations: 8 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4415, allocations: 4 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4415, allocations: 0 / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.4416, allocations: 11.98 kB / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4416, allocations: 448 / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.4416, allocations: 0 / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.4416, allocations: 7.938 kB / 0.771 GB, free: 15.59 MB / 0.545 GB 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 9.432e-05/0.4417, allocations: 121.8 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.4418, allocations: 4 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.4418, allocations: 15.91 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4418, allocations: 7.938 kB / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4418, allocations: 0 / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4418, allocations: 0 / 0.7712 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.4419, allocations: 177.5 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4419, allocations: 3.984 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.442, allocations: 4 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.442, allocations: 0 / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.442, allocations: 4 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.442, allocations: 0 / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.442, allocations: 0 / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.4421, allocations: 105 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.4422, allocations: 81.06 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.4422, allocations: 4 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.4423, allocations: 0 / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.4423, allocations: 7.984 kB / 0.7715 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.4423, allocations: 0 / 0.7715 GB, free: 14.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.937e-05/0.4424, allocations: 99.56 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4424, allocations: 4 kB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001897/0.4426, allocations: 8 kB / 0.7717 GB, free: 14.86 MB / 0.545 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,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.0001097/0.4427, allocations: 99.25 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.4428, allocations: 39.92 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4428, allocations: 0 / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.4429, allocations: 19.94 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.443, allocations: 5.656 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.4433, allocations: 142 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4437, allocations: 0.6807 MB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.745e-05/0.4437, allocations: 4 kB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.4437, allocations: 15.42 kB / 0.7726 GB, free: 13.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4437, allocations: 0 / 0.7726 GB, free: 13.8 MB / 0.545 GB Notification: Performance of Templates: time 0.002888/0.4466, allocations: 0.5723 MB / 0.7732 GB, free: 13.27 MB / 0.545 GB 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)