Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.239/1.239, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00088/0.0008797, allocations: 166 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000656/0.000656, allocations: 96.86 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002635, allocations: 14.34 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1362, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001107/0.1374, allocations: 1.144 MB / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004306/0.1378, allocations: 421.3 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.1379, allocations: 4 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.1379, allocations: 0 / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.642e-05/0.138, allocations: 3.938 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 1.804e-05/0.138, allocations: 7.922 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.87e-05/0.138, allocations: 15.94 kB / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.717e-05/0.1381, allocations: 12 kB / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1382, allocations: 7.984 kB / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.71e-05/0.1383, allocations: 7.922 kB / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.1383, allocations: 4 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.03e-06/0.1383, allocations: 0 / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.1383, allocations: 0 / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.1383, allocations: 11.94 kB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.62e-05/0.1384, allocations: 7.984 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1384, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1384, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1384, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 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.0002126/0.1386, allocations: 330 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1386, allocations: 8.031 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.025e-05/0.1387, allocations: 34.73 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.497e-05/0.1387, allocations: 0.9375 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.791e-05/0.1388, allocations: 168.3 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.141e-06/0.1388, allocations: 384 / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.1388, allocations: 384 / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.052e-05/0.1388, allocations: 45.81 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1388, allocations: 7.984 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.1389, allocations: 4 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1389, allocations: 3.938 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.1389, allocations: 4 kB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.1391, allocations: 256.7 kB / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.102e-05/0.1391, allocations: 22.58 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.1392, allocations: 12.92 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.1392, allocations: 0 / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.14e-05/0.1392, allocations: 34.56 kB / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.1392, allocations: 3.938 kB / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 9.886e-05/0.1393, allocations: 45.62 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.1393, allocations: 51.41 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.057e-05/0.1394, allocations: 97.86 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-06/0.1394, allocations: 29.83 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.1394, allocations: 88.14 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.1394, allocations: 3.906 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.1394, allocations: 13.7 kB / 0.899 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 2.997e-05/0.1395, allocations: 314.8 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.1395, allocations: 4 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-06/0.1395, allocations: 4 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.725e-05/0.1395, allocations: 12.86 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1395, allocations: 4.062 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.071e-05/0.1396, allocations: 45.62 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.1396, allocations: 4 kB / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1396, allocations: 0 / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.1396, allocations: 0 / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.745e-05/0.1396, allocations: 4 kB / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.1396, allocations: 0 / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.1397, allocations: 0 / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.1397, allocations: 4 kB / 0.8994 GB, free: 64.57 MB / 0.6042 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 3.552e-05/0.1397, allocations: 117.8 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.1397, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.064e-05/0.1398, allocations: 3.125 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1398, allocations: 4 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1398, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1398, allocations: 3.984 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.36e-05/0.1399, allocations: 157.6 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1399, allocations: 0 / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.1399, allocations: 3.938 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1399, allocations: 4 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.1399, allocations: 0 / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1399, allocations: 4 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1399, allocations: 0 / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.056e-05/0.14, allocations: 139.3 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.14, allocations: 81.09 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-06/0.14, allocations: 4 kB / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.36e-05/0.1401, allocations: 0 / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.1401, allocations: 0 / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/0.1401, allocations: 4.031 kB / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.701e-05/0.1401, allocations: 83.47 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1401, allocations: 0 / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002245/0.1403, allocations: 7.938 kB / 0.9 GB, free: 63.88 MB / 0.6042 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.0001676/0.1405, allocations: 0.6735 MB / 0.9006 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.131e-05/0.1406, allocations: 8.031 kB / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1406, allocations: 4 kB / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.1406, allocations: 7.984 kB / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.1407, allocations: 11.03 kB / 0.9007 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.1413, allocations: 1.156 MB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.12e-05/0.1413, allocations: 0.677 MB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.236e-05/0.1414, allocations: 96 / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.1414, allocations: 15.44 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.1414, allocations: 0 / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07009/0.2115, allocations: 0.8747 MB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.2117, allocations: 245.8 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.431/1.643, allocations: 3.938 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)