Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_8_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.001261/0.001261, allocations: 105.4 kB / 15.7 MB, free: 24 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.001483/0.001484, allocations: 195.9 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.64 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2497, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00302/0.2528, allocations: 1.41 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.2535, allocations: 404 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.102e-05/0.2536, allocations: 4 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.2537, allocations: 3.938 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.729e-05/0.2538, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.012e-05/0.2538, allocations: 11.98 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.2539, allocations: 23.81 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.254, allocations: 4 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.2541, allocations: 11.98 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.2542, allocations: 7.938 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2542, allocations: 3.984 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-06/0.2542, allocations: 8 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.2542, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.2543, allocations: 8 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.793e-05/0.2543, allocations: 20.14 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2543, allocations: 3.984 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2544, allocations: 0 / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2544, allocations: 0 / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003806/0.2547, allocations: 323.5 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2548, allocations: 8.031 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.2548, allocations: 34.75 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.896e-05/0.2549, allocations: 12.88 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.255, allocations: 164.4 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.255, allocations: 384 / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.255, allocations: 4.375 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.463e-05/0.2551, allocations: 41.81 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.2551, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.2551, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2552, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.105e-05/0.2552, allocations: 4 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.2555, allocations: 256.8 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.768e-05/0.2556, allocations: 22.58 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.2556, allocations: 12.92 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.2556, allocations: 0 / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2556, allocations: 30.56 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 3.175e-06/0.2556, allocations: 4 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001363/0.2558, allocations: 49.53 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.2558, allocations: 59.34 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.2559, allocations: 97.86 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.2559, allocations: 25.7 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.256, allocations: 84.12 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.256, allocations: 11.84 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.256, allocations: 13.72 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2561, allocations: 318.9 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.2562, allocations: 4 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.026e-06/0.2562, allocations: 4 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.2562, allocations: 12.86 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2562, allocations: 0 / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.047e-05/0.2563, allocations: 49.62 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2563, allocations: 4 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2563, allocations: 0 / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2563, allocations: 4.094 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.842e-05/0.2564, allocations: 4 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2564, allocations: 0 / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.2564, allocations: 0 / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-06/0.2564, allocations: 0 / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.649e-05/0.2565, allocations: 118.4 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.2565, allocations: 0 / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/0.2565, allocations: 7.109 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2565, allocations: 0 / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2566, allocations: 4 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2566, allocations: 4 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.2567, allocations: 153.6 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2567, allocations: 4 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.2567, allocations: 0 / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2568, allocations: 0 / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.2568, allocations: 3.938 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2568, allocations: 4 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2568, allocations: 0 / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.2569, allocations: 143.4 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.2569, allocations: 81.02 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.2569, allocations: 192 / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/0.257, allocations: 4 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.257, allocations: 3.984 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.257, allocations: 4 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.2571, allocations: 83.27 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2571, allocations: 0 / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00026/0.2573, allocations: 4 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003664/0.2577, allocations: 0.6811 MB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.729e-05/0.2578, allocations: 4 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2578, allocations: 0 / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.708e-05/0.2578, allocations: 8 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.258, allocations: 12.09 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009014/0.2589, allocations: 1.153 MB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.2592, allocations: 0.6768 MB / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.749e-05/0.2592, allocations: 0 / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.2592, allocations: 7.438 kB / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2593, allocations: 3.938 kB / 0.7902 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.2784, allocations: 1.06 MB / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.469, allocations: 8.031 kB / 0.7912 GB, free: 5.172 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)