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.0007486/0.0007486, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004149/0.004149, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.092/2.092, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.5337, allocations: 142.4 MB / 0.9552 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001217/0.5349, allocations: 1.205 MB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005487/0.5355, allocations: 452.2 kB / 0.9568 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.5355, allocations: 1.312 kB / 0.9568 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.5356, allocations: 0 / 0.9568 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.5358, allocations: 21.38 kB / 0.9568 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.191e-05/0.5358, allocations: 14.92 kB / 0.9568 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.156e-05/0.5359, allocations: 45.19 kB / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.496e-05/0.536, allocations: 7.969 kB / 0.9569 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.5361, allocations: 33.39 kB / 0.9569 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.5361, allocations: 15.83 kB / 0.9569 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.5362, allocations: 1.406 kB / 0.9569 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.5362, allocations: 2.281 kB / 0.9569 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.5362, allocations: 17.06 kB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.513e-05/0.5362, allocations: 44.19 kB / 0.957 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.609e-05/0.5363, allocations: 37.38 kB / 0.957 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.5363, allocations: 3.938 kB / 0.957 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5363, allocations: 0 / 0.957 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.5363, allocations: 0 / 0.957 GB, free: 6.18 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.000364/0.5367, allocations: 349.2 kB / 0.9574 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5367, allocations: 10.03 kB / 0.9574 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.5368, allocations: 34.69 kB / 0.9574 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.5368, allocations: 7.344 kB / 0.9574 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.5369, allocations: 184.8 kB / 0.9576 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.5369, allocations: 1.688 kB / 0.9576 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.5369, allocations: 9.75 kB / 0.9576 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.847e-05/0.537, allocations: 56.69 kB / 0.9576 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-06/0.537, allocations: 0 / 0.9576 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.537, allocations: 0 / 0.9576 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.537, allocations: 1.125 kB / 0.9576 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.999e-05/0.5371, allocations: 22.23 kB / 0.9577 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.5373, allocations: 268 kB / 0.9579 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.266e-05/0.5374, allocations: 46.72 kB / 0.958 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.5375, allocations: 22.2 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.5375, allocations: 1.25 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.5376, allocations: 63.64 kB / 0.9581 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.5376, allocations: 0 / 0.9581 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000176/0.5378, allocations: 86.8 kB / 0.9581 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.5378, allocations: 52.84 kB / 0.9582 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.682e-05/0.5379, allocations: 116.7 kB / 0.9583 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.5379, allocations: 29.7 kB / 0.9583 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.992e-05/0.5379, allocations: 81.83 kB / 0.9584 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.538, allocations: 22.77 kB / 0.9584 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.538, allocations: 11.53 kB / 0.9584 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.572e-05/0.538, allocations: 320.7 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.5381, allocations: 13.95 kB / 0.9588 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.5381, allocations: 11.72 kB / 0.9588 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.5381, allocations: 34.45 kB / 0.9588 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5381, allocations: 0 / 0.9588 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.5e-05/0.5382, allocations: 61.88 kB / 0.9589 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5383, allocations: 6.219 kB / 0.9589 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5383, allocations: 4.062 kB / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.5383, allocations: 0 / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.5383, allocations: 11.52 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.5383, allocations: 0 / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.5384, allocations: 8.5 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.5384, allocations: 3.938 kB / 0.9589 GB, free: 4.254 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.891e-05/0.5385, allocations: 126 kB / 0.959 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.5385, allocations: 5.312 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.5385, allocations: 12.83 kB / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5385, allocations: 1.375 kB / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5385, allocations: 0 / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5385, allocations: 0 / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.138e-05/0.5386, allocations: 171.8 kB / 0.9592 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5386, allocations: 0 / 0.9592 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.5386, allocations: 8.234 kB / 0.9592 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5387, allocations: 0 / 0.9592 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.5387, allocations: 1.406 kB / 0.9592 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5387, allocations: 4 kB / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5387, allocations: 1.344 kB / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.5388, allocations: 93.56 kB / 0.9593 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.853e-05/0.5388, allocations: 86.66 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.5388, allocations: 1.688 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.5389, allocations: 6.969 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.5389, allocations: 5.484 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.5389, allocations: 9.406 kB / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.539, allocations: 90.77 kB / 0.9595 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.539, allocations: 0 / 0.9595 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001759/0.5392, allocations: 9.875 kB / 0.9595 GB, free: 3.605 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.0002385/0.5394, allocations: 0.6369 MB / 0.9601 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.469e-05/0.5395, allocations: 43.64 kB / 0.9602 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5395, allocations: 0 / 0.9602 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.72e-05/0.5395, allocations: 19.77 kB / 0.9602 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.5397, allocations: 7.156 kB / 0.9602 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007248/0.5404, allocations: 1.227 MB / 0.9614 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.845e-05/0.5405, allocations: 0.6812 MB / 0.9621 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.5405, allocations: 6.75 kB / 0.9621 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.5406, allocations: 14.19 kB / 0.9621 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.5406, allocations: 0 / 0.9621 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.5579, allocations: 1.271 MB / 0.9633 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.5581, allocations: 240.9 kB / 0.9635 GB, free: 236 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.128, allocations: 0 / 0.9635 GB, free: 236 kB / 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)