Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_9_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.001175/0.001175, 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.001196/0.001196, allocations: 195.5 kB / 16.25 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.167/1.167, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.099/2.099, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4874, allocations: 140.4 MB / 0.9492 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00185/0.4893, allocations: 1.529 MB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004836/0.4898, allocations: 463.1 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.4898, allocations: 0 / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.4898, allocations: 4.812 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.49, allocations: 22.12 kB / 0.9512 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.501e-05/0.4901, allocations: 14.7 kB / 0.9512 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.056e-05/0.4902, allocations: 48.58 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.379e-05/0.4902, allocations: 16.23 kB / 0.9513 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.486e-05/0.4903, allocations: 21.27 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.4904, allocations: 23.28 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.4904, allocations: 4.438 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.4904, allocations: 7.531 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.4904, allocations: 9.297 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.4905, allocations: 23.58 kB / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.514e-05/0.4905, allocations: 40.27 kB / 0.9514 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.4905, allocations: 5.219 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4905, allocations: 0 / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.4906, allocations: 0 / 0.9514 GB, free: 7.375 MB / 0.7169 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.0003655/0.4909, allocations: 353.4 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.491, allocations: 16.75 kB / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.304e-05/0.491, allocations: 36.16 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.491, allocations: 3.656 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.4911, allocations: 180 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4911, allocations: 1.469 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.4911, allocations: 3.188 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.37e-05/0.4912, allocations: 55.56 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.4912, allocations: 0 / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.4912, allocations: 1.469 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.4912, allocations: 0 / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/0.4913, allocations: 26.7 kB / 0.9521 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.4915, allocations: 275.9 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.836e-05/0.4916, allocations: 43.66 kB / 0.9524 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.4917, allocations: 17.02 kB / 0.9524 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.4917, allocations: 1.312 kB / 0.9524 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.4918, allocations: 68.27 kB / 0.9524 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4918, allocations: 0 / 0.9524 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001724/0.492, allocations: 90.03 kB / 0.9525 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.492, allocations: 52.72 kB / 0.9526 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.4921, allocations: 116.5 kB / 0.9527 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.4921, allocations: 26.98 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.4921, allocations: 85.33 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.4921, allocations: 18.17 kB / 0.9528 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.4922, allocations: 17.16 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.251e-05/0.4922, allocations: 325.2 kB / 0.9531 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.699e-05/0.4922, allocations: 13.97 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.4922, allocations: 16.38 kB / 0.9532 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.4923, allocations: 28.97 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4923, allocations: 0 / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.283e-05/0.4924, allocations: 60.02 kB / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.4924, allocations: 4.594 kB / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4924, allocations: 8.359 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4924, allocations: 0.6875 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.4925, allocations: 6.688 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4925, allocations: 1.406 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.4926, allocations: 13.31 kB / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4926, allocations: 5.344 kB / 0.9533 GB, free: 5.434 MB / 0.7169 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 4.359e-05/0.4926, allocations: 121.9 kB / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.4926, allocations: 1.438 kB / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.653e-05/0.4927, allocations: 9.375 kB / 0.9534 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4927, allocations: 1.344 kB / 0.9534 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4927, allocations: 3.938 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.4927, allocations: 0 / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.645e-05/0.4927, allocations: 175.6 kB / 0.9536 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4928, allocations: 4 kB / 0.9536 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.4928, allocations: 3.875 kB / 0.9536 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4928, allocations: 1.438 kB / 0.9536 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.4928, allocations: 0 / 0.9536 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4928, allocations: 0 / 0.9536 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.4928, allocations: 1.375 kB / 0.9536 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.4929, allocations: 104.8 kB / 0.9537 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.4929, allocations: 79.55 kB / 0.9538 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.493, allocations: 4.844 kB / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.493, allocations: 2 kB / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.493, allocations: 10.14 kB / 0.9538 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.4931, allocations: 2.125 kB / 0.9538 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.4931, allocations: 90.33 kB / 0.9539 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4931, allocations: 0 / 0.9539 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001726/0.4933, allocations: 9.656 kB / 0.9539 GB, free: 4.793 MB / 0.7169 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.0002277/0.4935, allocations: 0.6358 MB / 0.9545 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.346e-05/0.4936, allocations: 37 kB / 0.9546 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4936, allocations: 0 / 0.9546 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.4937, allocations: 19.2 kB / 0.9546 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.4938, allocations: 6.281 kB / 0.9546 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.4945, allocations: 1.233 MB / 0.9558 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.136e-05/0.4946, allocations: 0.6921 MB / 0.9565 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.4946, allocations: 2.344 kB / 0.9565 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.4946, allocations: 13.5 kB / 0.9565 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.4946, allocations: 0 / 0.9565 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009697/0.5043, allocations: 1.399 MB / 0.9578 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/0.5045, allocations: 237.6 kB / 0.9581 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.147, allocations: 1.031 kB / 0.9581 GB, free: 1.309 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)