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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001263/0.001263, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.279/2.279, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.88 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4996, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002327/0.5019, allocations: 1.478 MB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006437/0.5026, allocations: 470.8 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.5027, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.5027, allocations: 3.938 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.5029, allocations: 31.84 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.333e-05/0.503, allocations: 11.98 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.11e-05/0.503, allocations: 59.72 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.5031, allocations: 4 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.5032, allocations: 23.92 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.5033, allocations: 23.91 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.5033, allocations: 4 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.5033, allocations: 8 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.5033, allocations: 11.92 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.5034, allocations: 19.88 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.694e-05/0.5035, allocations: 50.11 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.5035, allocations: 0 / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5035, allocations: 0 / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.5035, allocations: 0 / 1.02 GB, free: 272 kB / 0.7637 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.0004505/0.5039, allocations: 359.3 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.504, allocations: 12.03 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.589e-05/0.504, allocations: 30.75 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.504, allocations: 8.922 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.5041, allocations: 176.2 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.5042, allocations: 384 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.5042, allocations: 4.375 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.512e-05/0.5043, allocations: 57.73 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.5043, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.5043, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5043, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.058e-05/0.5044, allocations: 19.98 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.5047, allocations: 264.9 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.18e-05/0.5048, allocations: 46.56 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.5048, allocations: 24.88 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.5048, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.505, allocations: 67.39 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.505, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.000181/0.5051, allocations: 85.58 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.5052, allocations: 55.34 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.5053, allocations: 113.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.5053, allocations: 29.64 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.5053, allocations: 84.14 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.5053, allocations: 15.75 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.5054, allocations: 25.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.5055, allocations: 322.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.5055, allocations: 8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.5055, allocations: 15.98 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.096e-05/0.5056, allocations: 28.86 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5056, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.441e-05/0.5057, allocations: 65.69 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5057, allocations: 7.938 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.5057, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.5057, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.5058, allocations: 11.98 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5058, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.5059, allocations: 7.906 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.5059, allocations: 0 / 1.021 GB, free: 14.11 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.611e-05/0.506, allocations: 117.8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.506, allocations: 3.984 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.506, allocations: 11.97 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.506, allocations: 3.984 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.506, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.506, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.5061, allocations: 173.6 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5061, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.5062, allocations: 4.438 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5062, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.5062, allocations: 3.984 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5062, allocations: 4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5062, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.5063, allocations: 104.9 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.5064, allocations: 81.11 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.5064, allocations: 3.984 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.307e-05/0.5064, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.5065, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.5065, allocations: 7.984 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.5065, allocations: 83.28 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5065, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001778/0.5067, allocations: 16 kB / 1.022 GB, free: 13.39 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.0003337/0.5071, allocations: 0.6396 MB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.747e-05/0.5072, allocations: 43.86 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5072, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.5072, allocations: 19.94 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.5074, allocations: 7.984 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008867/0.5083, allocations: 1.209 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.5084, allocations: 0.6807 MB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.5085, allocations: 7.984 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.5085, allocations: 11.44 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5085, allocations: 4 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.458/0.9665, allocations: 1.497 MB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.77, allocations: 10.59 kB / 1.026 GB, free: 9.262 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)