Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.001146/0.001146, 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.001139/0.001139, allocations: 194.3 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.138/1.138, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 278.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8427/0.8427, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 105.2 kB / 0.5954 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002118/0.1166, allocations: 1.466 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005825/0.1172, allocations: 467.4 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.1172, allocations: 4 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.1173, allocations: 3.938 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1174, allocations: 28.47 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.734e-05/0.1175, allocations: 11.98 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.1176, allocations: 59.72 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.944e-05/0.1177, allocations: 7.938 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.1177, allocations: 27.91 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.1178, allocations: 27.92 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1178, allocations: 4 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.1179, allocations: 4 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.1179, allocations: 7.984 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.1179, allocations: 27.75 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.12e-05/0.118, allocations: 47.86 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.118, allocations: 0 / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.118, allocations: 0 / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.118, allocations: 0 / 0.6824 GB, free: 14.41 MB / 494.1 MB 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.0004152/0.1184, allocations: 351.4 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1185, allocations: 12.03 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.1185, allocations: 30.75 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.1185, allocations: 4.844 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1186, allocations: 176.3 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1187, allocations: 4.375 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.1187, allocations: 384 / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.133e-05/0.1188, allocations: 57.8 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.1188, allocations: 0 / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.1188, allocations: 0 / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1188, allocations: 4 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.001e-05/0.1189, allocations: 23.92 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.1191, allocations: 272.8 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.1192, allocations: 42.56 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.1193, allocations: 24.94 kB / 0.6834 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.1193, allocations: 0 / 0.6834 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.1194, allocations: 71.33 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.1194, allocations: 0 / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001849/0.1196, allocations: 85.67 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.1196, allocations: 51.41 kB / 0.6836 GB, free: 13.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.1197, allocations: 109.8 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1197, allocations: 25.7 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.1198, allocations: 88.05 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1198, allocations: 23.83 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1198, allocations: 21.64 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.1199, allocations: 318.8 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.1199, allocations: 12 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.12, allocations: 15.98 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.12, allocations: 28.86 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.12, allocations: 0 / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.021e-05/0.1201, allocations: 61.59 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1201, allocations: 8 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1202, allocations: 4 kB / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.1202, allocations: 0 / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.1202, allocations: 15.94 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1202, allocations: 0 / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.1203, allocations: 7.922 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1203, allocations: 4 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB 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 6.202e-05/0.1204, allocations: 119 kB / 0.6844 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1204, allocations: 7.906 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.1204, allocations: 7.969 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1204, allocations: 0 / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1204, allocations: 8.422 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.1204, allocations: 0 / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.733e-05/0.1205, allocations: 169.6 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1206, allocations: 4 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.1206, allocations: 4 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1206, allocations: 0 / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1206, allocations: 7.984 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1206, allocations: 4.312 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1206, allocations: 0 / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.1207, allocations: 97 kB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.1208, allocations: 81.02 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1208, allocations: 11.98 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.1209, allocations: 0 / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.1209, allocations: 4 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.1209, allocations: 3.984 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.1209, allocations: 91.27 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.121, allocations: 4 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001764/0.1211, allocations: 8 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB 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.0003108/0.1214, allocations: 0.6436 MB / 0.6855 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.438e-05/0.1216, allocations: 31.98 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1216, allocations: 0 / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.1216, allocations: 27.94 kB / 0.6856 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.1217, allocations: 5.703 kB / 0.6856 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008486/0.1226, allocations: 1.217 MB / 0.6868 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.1228, allocations: 0.6807 MB / 0.6874 GB, free: 8.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.029e-05/0.1228, allocations: 4 kB / 0.6874 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.1228, allocations: 15.42 kB / 0.6875 GB, free: 8.785 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1228, allocations: 0 / 0.6875 GB, free: 8.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.475/1.598, allocations: 1.51 MB / 0.6889 GB, free: 7.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/12.33, allocations: 13.14 kB / 0.689 GB, free: 7.43 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)