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.001182/0.001182, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001229/0.001229, allocations: 200.5 kB / 16.26 MB, free: 6.621 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.21/1.21, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.241/2.241, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 71.89 kB / 0.8689 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.463, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002292/0.4653, allocations: 1.55 MB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006076/0.4659, allocations: 462.8 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.466, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.466, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.4662, allocations: 23.84 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.496e-05/0.4663, allocations: 19.98 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.969e-05/0.4664, allocations: 51.78 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.4664, allocations: 8 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.4665, allocations: 27.86 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.4666, allocations: 19.92 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.4666, allocations: 4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.4666, allocations: 4 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.4667, allocations: 11.97 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.4667, allocations: 27.86 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.34e-05/0.4668, allocations: 38.14 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4668, allocations: 4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4668, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.4668, allocations: 0 / 1.019 GB, free: 420 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.000465/0.4673, allocations: 351.4 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.4673, allocations: 12.03 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.4674, allocations: 34.75 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.4674, allocations: 4.844 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.4675, allocations: 184.2 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4675, allocations: 8.375 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.4675, allocations: 4.359 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.4677, allocations: 49.81 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.4677, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.4677, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4677, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.4678, allocations: 19.98 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.4681, allocations: 276.8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/0.4681, allocations: 42.56 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.4682, allocations: 16.86 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.4682, allocations: 7.984 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.4683, allocations: 63.39 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4684, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001827/0.4685, allocations: 89.61 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4686, allocations: 51.41 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.4687, allocations: 121.8 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4687, allocations: 25.7 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.4687, allocations: 84.14 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.4688, allocations: 19.73 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.4688, allocations: 17.72 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.4689, allocations: 322.7 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.4689, allocations: 19.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.469, allocations: 8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.469, allocations: 32.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.469, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.771e-05/0.4691, allocations: 65.97 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4692, allocations: 8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.4692, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.4692, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.4692, allocations: 12.05 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.4693, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.4693, allocations: 8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4693, allocations: 4 kB / 1.021 GB, free: 14.24 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.688e-05/0.4694, allocations: 113.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.4694, allocations: 11.94 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.4694, allocations: 3.969 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4694, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4695, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4695, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.4696, allocations: 177.6 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4696, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.4696, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4696, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.4696, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4696, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4696, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.4698, allocations: 101 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.4698, allocations: 77.11 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.4698, allocations: 8 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.4699, allocations: 4 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.4699, allocations: 11.92 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.4699, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.47, allocations: 91.27 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.47, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001716/0.4702, allocations: 8 kB / 1.022 GB, free: 13.53 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.0003662/0.4706, allocations: 0.6396 MB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.4707, allocations: 51.98 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4707, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.4707, allocations: 19.98 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.4709, allocations: 5.125 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.4718, allocations: 1.225 MB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.472, allocations: 0.6868 MB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.472, allocations: 7.938 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.4721, allocations: 11.44 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.4721, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3172/0.7893, allocations: 1.389 MB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.7895, allocations: 236.5 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.497, allocations: 0.75 kB / 1.026 GB, free: 9.281 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)