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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001206/0.001206, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.059/2.059, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 71.83 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.4892, allocations: 140.4 MB / 0.9491 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001935/0.4912, allocations: 1.535 MB / 0.9506 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004711/0.4917, allocations: 467.7 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.4917, allocations: 0 / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.4918, allocations: 7.922 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.4919, allocations: 18.95 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.137e-05/0.492, allocations: 13.67 kB / 0.951 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.4921, allocations: 49.17 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.617e-05/0.4921, allocations: 7.578 kB / 0.9511 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.4922, allocations: 30.62 kB / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.4923, allocations: 23.3 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.4923, allocations: 2.219 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.4923, allocations: 2.438 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.4923, allocations: 9.141 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.4924, allocations: 18.38 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.089e-05/0.4924, allocations: 45.08 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4924, allocations: 0 / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4924, allocations: 1.375 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.4925, allocations: 0 / 0.9512 GB, free: 7.496 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.0003684/0.4928, allocations: 361.3 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.4929, allocations: 9.938 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.04e-05/0.4929, allocations: 30.75 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.15e-05/0.4929, allocations: 3.781 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.906e-05/0.493, allocations: 184 kB / 0.9518 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.493, allocations: 5.688 kB / 0.9518 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.493, allocations: 3.25 kB / 0.9518 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.41e-05/0.4931, allocations: 51.47 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.4931, allocations: 3.984 kB / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.4931, allocations: 5.375 kB / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4931, allocations: 0 / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.74e-05/0.4932, allocations: 17.78 kB / 0.9519 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.4934, allocations: 268.7 kB / 0.9521 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.017e-05/0.4935, allocations: 43.22 kB / 0.9522 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.4935, allocations: 30.83 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.4936, allocations: 4 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.4937, allocations: 67.61 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4937, allocations: 0 / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001628/0.4938, allocations: 79.06 kB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.4939, allocations: 56.86 kB / 0.9524 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.18e-05/0.4939, allocations: 104 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.4939, allocations: 31.48 kB / 0.9525 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.911e-05/0.494, allocations: 93.64 kB / 0.9526 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.494, allocations: 21.91 kB / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.494, allocations: 16.81 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.425e-05/0.4941, allocations: 320.2 kB / 0.9529 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.4941, allocations: 11.16 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.4941, allocations: 15.2 kB / 0.953 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.4942, allocations: 29.48 kB / 0.953 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4942, allocations: 1.594 kB / 0.953 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.574e-05/0.4943, allocations: 70.75 kB / 0.9531 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.4943, allocations: 6.25 kB / 0.9531 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.4943, allocations: 1.031 kB / 0.9531 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.4943, allocations: 0 / 0.9531 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.4944, allocations: 10.66 kB / 0.9531 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.4944, allocations: 5.094 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.4944, allocations: 10.2 kB / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.4944, allocations: 1 kB / 0.9531 GB, free: 5.555 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.97e-05/0.4945, allocations: 117 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.4945, allocations: 6.281 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.604e-05/0.4945, allocations: 9.062 kB / 0.9532 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4945, allocations: 1.094 kB / 0.9532 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.4946, allocations: 0 / 0.9532 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4946, allocations: 5.078 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.719e-05/0.4946, allocations: 171 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4946, allocations: 0 / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.4947, allocations: 7.781 kB / 0.9534 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4947, allocations: 1.594 kB / 0.9534 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.4947, allocations: 0 / 0.9534 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4947, allocations: 1.438 kB / 0.9534 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4947, allocations: 7.984 kB / 0.9534 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.4948, allocations: 97.19 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.4948, allocations: 82.3 kB / 0.9536 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4948, allocations: 1.312 kB / 0.9536 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.658e-05/0.4949, allocations: 6.516 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.4949, allocations: 2.781 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.4949, allocations: 1.188 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.495, allocations: 95.36 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.495, allocations: 0 / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000178/0.4952, allocations: 12.25 kB / 0.9537 GB, free: 4.914 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.0002291/0.4954, allocations: 0.6414 MB / 0.9543 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.896e-05/0.4955, allocations: 31.42 kB / 0.9544 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.4955, allocations: 4 kB / 0.9544 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.4955, allocations: 20.28 kB / 0.9544 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.4957, allocations: 1.375 kB / 0.9544 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.4964, allocations: 1.233 MB / 0.9556 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.117e-05/0.4965, allocations: 0.6815 MB / 0.9563 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.238e-05/0.4965, allocations: 2.844 kB / 0.9563 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.4965, allocations: 21.02 kB / 0.9563 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.4965, allocations: 1.594 kB / 0.9563 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.516, allocations: 1.332 MB / 0.9576 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/0.5162, allocations: 243.4 kB / 0.9578 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.142, allocations: 1.062 kB / 0.9578 GB, free: 1.457 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)