Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000849/0.000849, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00513/0.00513, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.272/2.272, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 16 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5378/0.5382, allocations: 153.8 MB / 1.023 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001311/0.5395, allocations: 1.2 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006155/0.5401, allocations: 451 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.5402, allocations: 4 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.5402, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.5404, allocations: 23.84 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.921e-05/0.5405, allocations: 19.98 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.5406, allocations: 51.78 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.5406, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/0.5407, allocations: 27.86 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.5408, allocations: 19.91 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.5408, allocations: 4 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.5409, allocations: 4 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.5409, allocations: 7.984 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.5409, allocations: 45.56 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.973e-05/0.541, allocations: 38.27 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.541, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.541, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.541, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 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.0004176/0.5414, allocations: 355.3 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.5415, allocations: 12.03 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.5415, allocations: 34.75 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.5416, allocations: 4.938 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.5417, allocations: 180.2 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.5417, allocations: 4.312 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.5417, allocations: 4.375 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.667e-05/0.5418, allocations: 49.62 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5418, allocations: 4 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.5418, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5418, allocations: 4 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.232e-05/0.5419, allocations: 23.98 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.5422, allocations: 268.9 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.5423, allocations: 46.5 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.5423, allocations: 16.86 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.5424, allocations: 4 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.5425, allocations: 79.39 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.5425, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001812/0.5427, allocations: 81.53 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.5427, allocations: 51.41 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.5428, allocations: 113.8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.5428, allocations: 25.7 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.5429, allocations: 92.12 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.5429, allocations: 11.75 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.5429, allocations: 21.72 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.543, allocations: 314.8 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.543, allocations: 19.92 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.5431, allocations: 8 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.716e-05/0.5431, allocations: 32.86 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5431, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.469e-05/0.5432, allocations: 65.62 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.5433, allocations: 4 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.5433, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.5433, allocations: 11.98 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.5433, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.5434, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.5434, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.5434, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 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 6.822e-05/0.5435, allocations: 117.8 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.5435, allocations: 7.906 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.5435, allocations: 3.969 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5435, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5436, allocations: 4.438 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.5436, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.5437, allocations: 173.6 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5437, allocations: 4 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.5437, allocations: 11.94 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5437, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.5437, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5438, allocations: 4 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5438, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.5439, allocations: 101 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.5439, allocations: 81.11 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.544, allocations: 4 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/0.544, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.544, allocations: 7.984 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.5441, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.5441, allocations: 95.25 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5441, allocations: 3.938 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001779/0.5443, allocations: 19.94 kB / 1.027 GB, free: 11.21 MB / 0.7794 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.0003443/0.5446, allocations: 0.6358 MB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.039e-05/0.5447, allocations: 31.98 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.5448, allocations: 3.938 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.5448, allocations: 23.92 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.5449, allocations: 8 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009602/0.5459, allocations: 1.226 MB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.5461, allocations: 0.6809 MB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.353e-05/0.5461, allocations: 4 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.5462, allocations: 15.42 kB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5462, allocations: 0 / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.5564, allocations: 1.283 MB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.5567, allocations: 240.6 kB / 1.032 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.531, allocations: 0 / 1.032 GB, free: 7.09 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)