Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.001049/0.001049, 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.001085/0.001085, allocations: 195.5 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.251/1.251, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002067, allocations: 278.6 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8914/0.8914, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 103.8 kB / 0.5954 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.133, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002709/0.1358, allocations: 1.448 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007482/0.1365, allocations: 0.4921 MB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.1366, allocations: 0.5938 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.1366, allocations: 10.45 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1368, allocations: 23.86 kB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.137, allocations: 27.91 kB / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.744e-05/0.137, allocations: 47.8 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.1372, allocations: 17.91 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.846e-05/0.1373, allocations: 27.92 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.1373, allocations: 19.92 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1374, allocations: 4 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.1374, allocations: 4 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.1374, allocations: 16.5 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.1375, allocations: 20.64 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.882e-05/0.1376, allocations: 39.88 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1376, allocations: 4.875 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1376, allocations: 0 / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1376, allocations: 0 / 0.6824 GB, free: 14.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005435/0.1381, allocations: 349.4 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1382, allocations: 12.75 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.1382, allocations: 30.75 kB / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1383, allocations: 12.94 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1384, allocations: 168.3 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1384, allocations: 4.375 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.1384, allocations: 384 / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1385, allocations: 65.73 kB / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1385, allocations: 0 / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1385, allocations: 0 / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1386, allocations: 4 kB / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.1386, allocations: 23.98 kB / 0.6831 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.1389, allocations: 276.8 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1391, allocations: 70.61 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.1392, allocations: 16.86 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1392, allocations: 0 / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.1394, allocations: 75.38 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1394, allocations: 0 / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002126/0.1396, allocations: 89.61 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.1396, allocations: 59.34 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.501e-05/0.1397, allocations: 105.8 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1397, allocations: 29.7 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.1398, allocations: 88.12 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1398, allocations: 15.73 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.1399, allocations: 29.7 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.1399, allocations: 318.8 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.14, allocations: 15.98 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.14, allocations: 19.92 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.621e-05/0.1401, allocations: 32.86 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1401, allocations: 0 / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001174/0.1402, allocations: 73.62 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1402, allocations: 11.98 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1403, allocations: 0 / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1403, allocations: 4 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.1404, allocations: 8 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1404, allocations: 0 / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.1404, allocations: 11.89 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.1405, allocations: 0 / 0.6844 GB, free: 12.14 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 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.475e-05/0.1405, allocations: 119.1 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.1406, allocations: 4 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.1407, allocations: 97.56 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1408, allocations: 4 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1408, allocations: 4 kB / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1408, allocations: 0 / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.1409, allocations: 189.5 kB / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1409, allocations: 256 / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.141, allocations: 15.94 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.141, allocations: 0 / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.141, allocations: 11.98 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.141, allocations: 0 / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.141, allocations: 0 / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.1412, allocations: 124.9 kB / 0.6849 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.1412, allocations: 85.02 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1413, allocations: 0 / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.1413, allocations: 7.984 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.1414, allocations: 12.12 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1414, allocations: 0 / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.766e-05/0.1414, allocations: 87.2 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1414, allocations: 0 / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001893/0.1416, allocations: 20 kB / 0.6851 GB, free: 11.27 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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0004144/0.1421, allocations: 0.6514 MB / 0.6858 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1422, allocations: 55.91 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1422, allocations: 0 / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.1423, allocations: 35.92 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.1424, allocations: 8 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1435, allocations: 1.224 MB / 0.687 GB, free: 9.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1437, allocations: 0.6846 MB / 0.6877 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.271e-05/0.1438, allocations: 7.984 kB / 0.6877 GB, free: 8.473 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.1438, allocations: 23.44 kB / 0.6877 GB, free: 8.449 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1438, allocations: 0 / 0.6877 GB, free: 8.449 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1486/0.2924, allocations: 1.647 MB / 0.6894 GB, free: 6.969 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.712, allocations: 16.92 kB / 0.6894 GB, free: 6.957 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)