Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_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.001476/0.001476, allocations: 108 kB / 15.61 MB, free: 148 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.001376/0.001376, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.287/1.287, 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 11.1.0-maint.11.x/package.mo): time 2.59/2.59, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 68.12 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2439, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002465/0.2464, allocations: 1.473 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000676/0.2471, allocations: 480.6 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.2471, allocations: 0 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.2472, allocations: 3.938 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.2474, allocations: 24.59 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.254e-05/0.2474, allocations: 15.98 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.2475, allocations: 55.73 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.619e-05/0.2476, allocations: 8 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.207e-05/0.2477, allocations: 27.91 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.2478, allocations: 23.91 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.2478, allocations: 4 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.2478, allocations: 4 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.2478, allocations: 4 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.2479, allocations: 27.84 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.821e-05/0.248, allocations: 40.11 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.248, allocations: 4 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.248, allocations: 7.938 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.248, allocations: 0 / 1.066 GB, free: 11.98 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.0004983/0.2485, allocations: 351.4 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2485, allocations: 12.03 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.2486, allocations: 30.75 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.2486, allocations: 8.844 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2487, allocations: 172.4 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2488, allocations: 384 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.2488, allocations: 8.375 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.714e-05/0.2489, allocations: 49.81 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.2489, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.2489, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.2489, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.72e-05/0.249, allocations: 27.92 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.2493, allocations: 280.8 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.2494, allocations: 50.56 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.2494, allocations: 16.86 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.2495, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.2496, allocations: 75.41 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2496, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001869/0.2498, allocations: 73.69 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.2498, allocations: 51.41 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.2499, allocations: 121.8 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.25, allocations: 25.7 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.25, allocations: 87.98 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.25, allocations: 15.89 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.2501, allocations: 21.66 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2502, allocations: 318.8 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.2502, allocations: 15.94 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.2503, allocations: 16 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.87e-05/0.2503, allocations: 32.84 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2503, allocations: 0 / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001012/0.2505, allocations: 65.61 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2505, allocations: 7.984 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2505, allocations: 0 / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.2505, allocations: 0 / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.2506, allocations: 11.94 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.2506, allocations: 0 / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.2506, allocations: 4 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.2506, allocations: 320 / 1.068 GB, free: 9.836 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 8.263e-05/0.2507, allocations: 125.8 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.2507, allocations: 4.344 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.2508, allocations: 7.969 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.2508, allocations: 4 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2508, allocations: 0 / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2508, allocations: 0 / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2509, allocations: 177.6 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2509, allocations: 0 / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.251, allocations: 4 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.251, allocations: 8 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.251, allocations: 0 / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.251, allocations: 3.984 kB / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.251, allocations: 0 / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2511, allocations: 101 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.2512, allocations: 88.95 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2512, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.245e-05/0.2513, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.2513, allocations: 11.98 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.2513, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.651e-05/0.2514, allocations: 99.2 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2514, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000174/0.2516, allocations: 12 kB / 1.069 GB, free: 9.105 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.0004095/0.252, allocations: 0.6363 MB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.2521, allocations: 35.98 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.2521, allocations: 0 / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.2521, allocations: 16 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.2523, allocations: 3.938 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.2533, allocations: 1.219 MB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.2536, allocations: 0.6846 MB / 1.071 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.2536, allocations: 8 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.2537, allocations: 11.44 kB / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of SimCode: time 1.8e-07/0.2537, allocations: 0 / 1.071 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/2.278, allocations: 1.492 MB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/10.58, allocations: 6.328 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)