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.001857/0.001862, 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.001803/0.001803, allocations: 193.8 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.218/1.218, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.053/2.053, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.91 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5387/0.5399, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002077/0.542, allocations: 1.47 MB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005526/0.5426, allocations: 468.8 kB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.5426, allocations: 1.125 kB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.5426, allocations: 7.922 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.5428, allocations: 25.19 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.87e-05/0.5429, allocations: 15.23 kB / 0.9517 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.543, allocations: 53.95 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.989e-05/0.5431, allocations: 11.59 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.5431, allocations: 17.36 kB / 0.9517 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.5432, allocations: 24.28 kB / 0.9518 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.5432, allocations: 4.25 kB / 0.9518 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.5432, allocations: 7.719 kB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.5433, allocations: 9.328 kB / 0.9518 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.5433, allocations: 22.45 kB / 0.9518 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.983e-05/0.5434, allocations: 44.88 kB / 0.9518 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5434, allocations: 7.938 kB / 0.9519 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5434, allocations: 0 / 0.9519 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.5434, allocations: 1.344 kB / 0.9519 GB, free: 7.512 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.000405/0.5438, allocations: 359.8 kB / 0.9522 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.5439, allocations: 9.844 kB / 0.9522 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.538e-05/0.5439, allocations: 36.16 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.5439, allocations: 3.75 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.469e-05/0.544, allocations: 172.4 kB / 0.9524 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.544, allocations: 5.812 kB / 0.9524 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.544, allocations: 9.766 kB / 0.9524 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.557e-05/0.5441, allocations: 47.75 kB / 0.9525 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.5441, allocations: 0 / 0.9525 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.5441, allocations: 1.375 kB / 0.9525 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.5441, allocations: 0 / 0.9525 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.5442, allocations: 25.92 kB / 0.9525 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.5444, allocations: 273.3 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.23e-05/0.5445, allocations: 50.11 kB / 0.9528 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.5446, allocations: 18.23 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.5446, allocations: 0.9375 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.5447, allocations: 67.92 kB / 0.9529 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.5447, allocations: 0 / 0.9529 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001713/0.5449, allocations: 82.89 kB / 0.953 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.5449, allocations: 60.5 kB / 0.953 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.546e-05/0.545, allocations: 112.6 kB / 0.9531 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.545, allocations: 26.95 kB / 0.9532 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/0.545, allocations: 85.39 kB / 0.9532 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.545, allocations: 18.27 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.5451, allocations: 17.47 kB / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.5451, allocations: 324 kB / 0.9536 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.5452, allocations: 14.36 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.5452, allocations: 14.91 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.724e-05/0.5452, allocations: 26.02 kB / 0.9536 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5452, allocations: 1.094 kB / 0.9536 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.688e-05/0.5453, allocations: 62.59 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.5453, allocations: 5.594 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.5454, allocations: 3.938 kB / 0.9537 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5454, allocations: 1.125 kB / 0.9537 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.5454, allocations: 14.23 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5454, allocations: 1.031 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.5455, allocations: 5.844 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.5455, allocations: 9.25 kB / 0.9537 GB, free: 5.574 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.609e-05/0.5456, allocations: 118.7 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.5456, allocations: 1.344 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.5456, allocations: 9.25 kB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.5456, allocations: 0 / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5456, allocations: 1.219 kB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5456, allocations: 4 kB / 0.9539 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.239e-05/0.5457, allocations: 178.6 kB / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5457, allocations: 0 / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.5457, allocations: 9.25 kB / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.5457, allocations: 0 / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.5458, allocations: 1.156 kB / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.5458, allocations: 0 / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5458, allocations: 1.25 kB / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.5459, allocations: 107.5 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.5459, allocations: 78.39 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.5459, allocations: 0 / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.489e-05/0.546, allocations: 6.281 kB / 0.9542 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.546, allocations: 11.33 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.546, allocations: 1.469 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.038e-05/0.5461, allocations: 89.83 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5461, allocations: 1.062 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001731/0.5463, allocations: 8.906 kB / 0.9543 GB, free: 4.934 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.0002528/0.5465, allocations: 0.641 MB / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.683e-05/0.5466, allocations: 37.33 kB / 0.955 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5466, allocations: 0 / 0.955 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.5467, allocations: 23.36 kB / 0.955 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.5468, allocations: 5.75 kB / 0.955 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/0.5476, allocations: 1.21 MB / 0.9562 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.345e-05/0.5476, allocations: 0.6964 MB / 0.9569 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.5477, allocations: 2.438 kB / 0.9569 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.5477, allocations: 13.91 kB / 0.9569 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5477, allocations: 0 / 0.9569 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.5642, allocations: 1.495 MB / 0.9584 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.851, allocations: 8.781 kB / 0.9584 GB, free: 1.582 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)