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.001435/0.001435, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001471/0.001471, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 290.3 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 0.9895/0.9895, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 99.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/0.5725, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003384/0.5759, allocations: 1.469 MB / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.577, allocations: 480.7 kB / 0.769 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.5771, allocations: 0 / 0.769 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.5771, allocations: 3.938 kB / 0.769 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.5775, allocations: 23.84 kB / 0.769 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.5777, allocations: 27.91 kB / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.5778, allocations: 47.86 kB / 0.7691 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.5779, allocations: 11.5 kB / 0.7691 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.5781, allocations: 27.86 kB / 0.7691 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.5782, allocations: 23.91 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.5782, allocations: 7.938 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.5782, allocations: 4 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.5783, allocations: 11.92 kB / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.5783, allocations: 15.94 kB / 0.7692 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.5784, allocations: 51.86 kB / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5785, allocations: 0 / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5785, allocations: 0 / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.5785, allocations: 0 / 0.7692 GB, free: 1.727 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.000666/0.5792, allocations: 346.1 kB / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5792, allocations: 12.03 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.5793, allocations: 4.844 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.5794, allocations: 180.2 kB / 0.7697 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.5795, allocations: 8.375 kB / 0.7697 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.5795, allocations: 8.312 kB / 0.7697 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.5796, allocations: 57.98 kB / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5797, allocations: 0 / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.5797, allocations: 0 / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.5797, allocations: 0 / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.382e-05/0.5798, allocations: 19.98 kB / 0.7698 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.5802, allocations: 264.9 kB / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.5803, allocations: 50.5 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.5804, allocations: 24.86 kB / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.5804, allocations: 4.078 kB / 0.7701 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.5806, allocations: 63.39 kB / 0.7702 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.5806, allocations: 0 / 0.7702 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002311/0.5808, allocations: 77.62 kB / 0.7703 GB, free: 472 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.5809, allocations: 59.41 kB / 0.7703 GB, free: 400 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.581, allocations: 109.8 kB / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.581, allocations: 29.7 kB / 0.7705 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.5811, allocations: 92.03 kB / 0.7705 GB, free: 148 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.5811, allocations: 15.75 kB / 0.7706 GB, free: 132 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.5811, allocations: 17.72 kB / 0.7706 GB, free: 108 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5813, allocations: 322.8 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.445e-05/0.5813, allocations: 12 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.396e-05/0.5813, allocations: 8 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.433e-05/0.5814, allocations: 40.84 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5814, allocations: 0 / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001182/0.5815, allocations: 61.62 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5816, allocations: 4 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5816, allocations: 4 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.5816, allocations: 0 / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.5817, allocations: 7.938 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.5817, allocations: 4 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.5818, allocations: 4 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.5818, allocations: 7.984 kB / 0.771 GB, free: 15.62 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.999e-05/0.5819, allocations: 120.2 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.5819, allocations: 11.84 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.5819, allocations: 3.969 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5819, allocations: 0 / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5819, allocations: 0 / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.582, allocations: 4 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.5821, allocations: 178 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5821, allocations: 0 / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.5821, allocations: 11.94 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5822, allocations: 4 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5822, allocations: 0 / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5822, allocations: 0 / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5822, allocations: 4 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.5823, allocations: 97.05 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.5824, allocations: 81.02 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.5824, allocations: 0 / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.5825, allocations: 11.98 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.5825, allocations: 8 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.5825, allocations: 0 / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.303e-05/0.5826, allocations: 91.27 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5826, allocations: 0 / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001927/0.5828, allocations: 8 kB / 0.7716 GB, free: 14.91 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.000121/0.5829, allocations: 111.2 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.5831, allocations: 35.92 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5831, allocations: 0 / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.5831, allocations: 20 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.5833, allocations: 7.984 kB / 0.7718 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.5837, allocations: 163.8 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.5839, allocations: 0.6807 MB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.584, allocations: 15.42 kB / 0.7726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.584, allocations: 0 / 0.7726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Templates: time 0.002323/0.5863, allocations: 0.7493 MB / 0.7734 GB, free: 13.07 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)