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.0008063/0.0008063, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.004773/0.004774, allocations: 170.8 kB / 16.27 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.191/1.191, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00163/0.00163, allocations: 275.1 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8536/0.8536, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 16.44 kB / 0.5988 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001525/0.1469, allocations: 1.201 MB / 0.6864 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00067/0.1476, allocations: 450.1 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.1476, allocations: 0 / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.1477, allocations: 0 / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.1479, allocations: 32.34 kB / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.031e-05/0.148, allocations: 7.984 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.994e-05/0.148, allocations: 52.33 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.809e-05/0.1481, allocations: 9.125 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.1482, allocations: 23.91 kB / 0.687 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.1483, allocations: 28.41 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1483, allocations: 1.406 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.1484, allocations: 4 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.1484, allocations: 4 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.1484, allocations: 50.88 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.398e-05/0.1485, allocations: 35.86 kB / 0.6871 GB, free: 13.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1485, allocations: 7.938 kB / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1485, allocations: 0 / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1485, allocations: 1.562 kB / 0.6871 GB, free: 13.08 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.0004644/0.149, allocations: 351.5 kB / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1491, allocations: 8.031 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.1491, allocations: 34.75 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.1491, allocations: 0.9375 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.1493, allocations: 188.1 kB / 0.6876 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1493, allocations: 4.375 kB / 0.6876 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1493, allocations: 384 / 0.6876 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.95e-05/0.1494, allocations: 54.31 kB / 0.6877 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.1494, allocations: 0.875 kB / 0.6877 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1494, allocations: 0 / 0.6877 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1494, allocations: 0 / 0.6877 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.1495, allocations: 21.77 kB / 0.6877 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.1498, allocations: 268.8 kB / 0.688 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.805e-05/0.1499, allocations: 43.31 kB / 0.688 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.15, allocations: 31.31 kB / 0.6881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.15, allocations: 0 / 0.6881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.1501, allocations: 67.38 kB / 0.6881 GB, free: 11.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.1501, allocations: 2.062 kB / 0.6881 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.000187/0.1503, allocations: 81.62 kB / 0.6882 GB, free: 11.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.1504, allocations: 55.41 kB / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.1505, allocations: 105.8 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1505, allocations: 29.7 kB / 0.6884 GB, free: 11.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.1505, allocations: 88.75 kB / 0.6885 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.1506, allocations: 21.52 kB / 0.6885 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.1506, allocations: 9.719 kB / 0.6885 GB, free: 11.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1507, allocations: 318.8 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.1507, allocations: 15.98 kB / 0.6888 GB, free: 11.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.1508, allocations: 20.84 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.492e-05/0.1508, allocations: 29.52 kB / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1508, allocations: 0 / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.977e-05/0.151, allocations: 66.47 kB / 0.6889 GB, free: 10.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.151, allocations: 8 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.151, allocations: 0.625 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.151, allocations: 0 / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.1511, allocations: 13.3 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1511, allocations: 0 / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.1511, allocations: 4.75 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1512, allocations: 0 / 0.6889 GB, free: 10.96 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 8.299e-05/0.1512, allocations: 134.9 kB / 0.6891 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.1513, allocations: 3.984 kB / 0.6891 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.1513, allocations: 11.97 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1513, allocations: 0 / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1513, allocations: 0 / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1513, allocations: 0 / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1514, allocations: 169.6 kB / 0.6893 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1514, allocations: 3.984 kB / 0.6893 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.1515, allocations: 8 kB / 0.6893 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1515, allocations: 0 / 0.6893 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1515, allocations: 4 kB / 0.6893 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1515, allocations: 0 / 0.6893 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1515, allocations: 0 / 0.6893 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1516, allocations: 97.22 kB / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.1517, allocations: 85.09 kB / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1517, allocations: 4 kB / 0.6894 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.1518, allocations: 4 kB / 0.6894 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.1518, allocations: 11.92 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1518, allocations: 8 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.1519, allocations: 91.27 kB / 0.6896 GB, free: 10.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1519, allocations: 0 / 0.6896 GB, free: 10.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001772/0.1521, allocations: 8 kB / 0.6896 GB, free: 10.23 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.000392/0.1525, allocations: 0.6358 MB / 0.6902 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.618e-05/0.1526, allocations: 39.92 kB / 0.6902 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1526, allocations: 0 / 0.6902 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.1526, allocations: 23.92 kB / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1528, allocations: 0 / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1538, allocations: 1.228 MB / 0.6914 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.154, allocations: 0.6809 MB / 0.6921 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.294e-05/0.1541, allocations: 4 kB / 0.6921 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.1541, allocations: 21.67 kB / 0.6921 GB, free: 7.461 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1541, allocations: 0 / 0.6921 GB, free: 7.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.452/1.606, allocations: 1.306 MB / 0.6934 GB, free: 6.375 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/1.607, allocations: 248.6 kB / 0.6936 GB, free: 6.113 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/3.281, allocations: 2.578 kB / 0.6936 GB, free: 6.113 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)