Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001423/0.001423, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001596/0.001596, allocations: 191.5 kB / 16.13 MB, free: 6.707 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.39 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3938, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003151/0.397, allocations: 1.539 MB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007796/0.3979, allocations: 466.8 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.3979, allocations: 4 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.941e-05/0.398, allocations: 3.938 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.3983, allocations: 23.91 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.842e-05/0.3983, allocations: 11.98 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.336e-05/0.3984, allocations: 55.73 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3986, allocations: 4 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3987, allocations: 23.92 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.3988, allocations: 23.89 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3988, allocations: 4 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.3988, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.3989, allocations: 8 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.3989, allocations: 23.86 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.696e-05/0.399, allocations: 48.09 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.399, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.714e-06/0.399, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3991, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8262 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.0006767/0.3997, allocations: 357.1 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3998, allocations: 8.031 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.3998, allocations: 8.844 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.4, allocations: 168.4 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.4, allocations: 384 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.4, allocations: 8.375 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.4002, allocations: 53.98 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4002, allocations: 3.984 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4002, allocations: 0 / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4002, allocations: 4 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.46e-05/0.4003, allocations: 19.98 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.4007, allocations: 272.8 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4008, allocations: 50.56 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.4009, allocations: 16.86 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.4009, allocations: 4 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.4011, allocations: 67.42 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.4011, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.000282/0.4014, allocations: 77.67 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.4015, allocations: 55.41 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.4016, allocations: 109.8 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.4016, allocations: 29.7 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.4017, allocations: 99.86 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.4017, allocations: 7.906 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.4017, allocations: 21.7 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4019, allocations: 318.8 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/0.4019, allocations: 11.98 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.4019, allocations: 12 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.966e-05/0.402, allocations: 37.17 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.402, allocations: 0 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00011/0.4021, allocations: 73.59 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4022, allocations: 4 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4022, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4022, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.4023, allocations: 11.98 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4023, allocations: 0 / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.4023, allocations: 4 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.4024, allocations: 4 kB / 1.072 GB, free: 6.594 MB / 0.8262 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 0.0001106/0.4025, allocations: 122 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.4025, allocations: 3.906 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.4025, allocations: 15.95 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4026, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.4026, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4026, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.4027, allocations: 173.6 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4027, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.4028, allocations: 11.98 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4028, allocations: 4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.4028, allocations: 0 / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4028, allocations: 0 / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4028, allocations: 3.984 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.403, allocations: 97 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.403, allocations: 89 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.403, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.4031, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.4032, allocations: 7.984 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.4032, allocations: 4.125 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.589e-05/0.4032, allocations: 83.28 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4032, allocations: 3.938 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001896/0.4034, allocations: 19.94 kB / 1.072 GB, free: 5.863 MB / 0.8262 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.0001678/0.4036, allocations: 99.23 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.4037, allocations: 43.92 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4038, allocations: 4 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/0.4038, allocations: 19.94 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.404, allocations: 8.5 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.4044, allocations: 142 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.4048, allocations: 0.6848 MB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.4049, allocations: 8 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.4049, allocations: 15.42 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4049, allocations: 0 / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of Templates: time 0.003092/0.408, allocations: 0.4985 MB / 1.074 GB, free: 4.297 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)