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.005326/0.005326, allocations: 102.3 kB / 15.73 MB, free: 5.516 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.00112/0.00112, allocations: 193.5 kB / 16.67 MB, free: 5.449 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 14.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 290.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9285/0.9285, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 87.86 kB / 0.6815 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4026, allocations: 86.98 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002408/0.4051, allocations: 1.472 MB / 0.7678 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.4058, allocations: 476.6 kB / 0.7683 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.4059, allocations: 0 / 0.7683 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.4059, allocations: 7.984 kB / 0.7683 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.4062, allocations: 27.8 kB / 0.7683 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.12e-05/0.4062, allocations: 11.98 kB / 0.7683 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.4063, allocations: 55.78 kB / 0.7684 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.4064, allocations: 8 kB / 0.7684 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.4065, allocations: 23.91 kB / 0.7684 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.4066, allocations: 27.91 kB / 0.7684 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.4066, allocations: 4 kB / 0.7684 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.4067, allocations: 4 kB / 0.7685 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.4067, allocations: 11.94 kB / 0.7685 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.4067, allocations: 15.92 kB / 0.7685 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.4e-05/0.4068, allocations: 47.47 kB / 0.7685 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4068, allocations: 0 / 0.7685 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4068, allocations: 3.938 kB / 0.7685 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4069, allocations: 4 kB / 0.7685 GB, free: 1.707 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.000539/0.4074, allocations: 365.2 kB / 0.7689 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4074, allocations: 11.97 kB / 0.7689 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.4075, allocations: 4.938 kB / 0.7689 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.4076, allocations: 176.3 kB / 0.7691 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4076, allocations: 384 / 0.7691 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.4077, allocations: 8.375 kB / 0.7691 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.4078, allocations: 49.98 kB / 0.7691 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4078, allocations: 4 kB / 0.7691 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.4078, allocations: 0 / 0.7691 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4078, allocations: 4 kB / 0.7691 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.409e-05/0.4079, allocations: 19.98 kB / 0.7691 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.4082, allocations: 272.8 kB / 0.7694 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4083, allocations: 38.58 kB / 0.7694 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.4084, allocations: 20.94 kB / 0.7695 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.4084, allocations: 8 kB / 0.7695 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.4085, allocations: 71.31 kB / 0.7695 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.4085, allocations: 0 / 0.7695 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002034/0.4088, allocations: 81.62 kB / 0.7696 GB, free: 440 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.4088, allocations: 51.41 kB / 0.7697 GB, free: 376 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.4089, allocations: 113.8 kB / 0.7698 GB, free: 252 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.4089, allocations: 25.7 kB / 0.7698 GB, free: 220 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.409, allocations: 92.14 kB / 0.7699 GB, free: 124 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.409, allocations: 11.84 kB / 0.7699 GB, free: 112 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.409, allocations: 21.7 kB / 0.7699 GB, free: 84 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4091, allocations: 318.8 kB / 0.7702 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.241e-05/0.4092, allocations: 15.98 kB / 0.7702 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.4092, allocations: 12 kB / 0.7702 GB, free: 15.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.038e-05/0.4093, allocations: 28.8 kB / 0.7703 GB, free: 15.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4093, allocations: 0 / 0.7703 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001017/0.4094, allocations: 74.02 kB / 0.7703 GB, free: 15.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.4094, allocations: 4 kB / 0.7704 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.4094, allocations: 0 / 0.7704 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.4094, allocations: 0 / 0.7704 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.4095, allocations: 16.05 kB / 0.7704 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.4095, allocations: 0 / 0.7704 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.4096, allocations: 4 kB / 0.7704 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4096, allocations: 7.938 kB / 0.7704 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 8.333e-05/0.4097, allocations: 120.1 kB / 0.7705 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.4097, allocations: 4 kB / 0.7705 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.4098, allocations: 19.89 kB / 0.7705 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.4098, allocations: 0 / 0.7705 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4098, allocations: 0 / 0.7705 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4098, allocations: 3.984 kB / 0.7705 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.4099, allocations: 173.5 kB / 0.7707 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4099, allocations: 0 / 0.7707 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.4099, allocations: 7.984 kB / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.41, allocations: 4 kB / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.41, allocations: 0 / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.41, allocations: 0 / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.41, allocations: 4 kB / 0.7707 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.4101, allocations: 97 kB / 0.7708 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.4102, allocations: 89.05 kB / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.4102, allocations: 0 / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.267e-05/0.4102, allocations: 0 / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.4103, allocations: 11.98 kB / 0.7709 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4103, allocations: 0 / 0.7709 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.4104, allocations: 91.28 kB / 0.771 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4104, allocations: 0 / 0.771 GB, free: 14.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001845/0.4106, allocations: 12 kB / 0.771 GB, free: 14.88 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.0001181/0.4107, allocations: 99.23 kB / 0.7711 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.4108, allocations: 43.92 kB / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4108, allocations: 0 / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/0.4109, allocations: 15.94 kB / 0.7711 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.411, allocations: 10.34 kB / 0.7711 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.4113, allocations: 141.6 kB / 0.7713 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.4116, allocations: 0.6807 MB / 0.7719 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.4116, allocations: 4 kB / 0.772 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.4117, allocations: 7.438 kB / 0.772 GB, free: 13.82 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4117, allocations: 4 kB / 0.772 GB, free: 13.82 MB / 0.545 GB Notification: Performance of Templates: time 0.002586/0.4143, allocations: 0.5628 MB / 0.7725 GB, free: 13.29 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)