Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001123/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001125/0.001125, allocations: 192.8 kB / 16.14 MB, free: 6.715 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.141/1.141, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001896/0.001896, allocations: 293.8 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8587/0.8587, allocations: 169.3 MB / 0.4977 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 93.98 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1236, allocations: 86.98 MB / 0.6796 GB, free: 1.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00238/0.126, allocations: 1.659 MB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.1267, allocations: 0.5215 MB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.1267, allocations: 4 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.1268, allocations: 9.672 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.127, allocations: 36.55 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.806e-05/0.1271, allocations: 35.89 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1272, allocations: 108.5 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.1273, allocations: 21.95 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.259e-05/0.1274, allocations: 47.84 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.03e-05/0.1275, allocations: 44.48 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1275, allocations: 4 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.838e-05/0.1276, allocations: 8 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.1276, allocations: 23.89 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.1277, allocations: 43.8 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.982e-05/0.1278, allocations: 79.73 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1278, allocations: 0 / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1278, allocations: 3.938 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1278, allocations: 0 / 0.6821 GB, free: 14.39 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006293/0.1284, allocations: 415.2 kB / 0.6825 GB, free: 13.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1285, allocations: 8.031 kB / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.1285, allocations: 38.75 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.1285, allocations: 8.844 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1286, allocations: 172.3 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1287, allocations: 12.38 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1287, allocations: 4.375 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1289, allocations: 95.89 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-06/0.1289, allocations: 0 / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1289, allocations: 8 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1289, allocations: 4 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.129, allocations: 47.91 kB / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.1294, allocations: 344.6 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.1297, allocations: 110.7 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.1298, allocations: 40.84 kB / 0.6834 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.1298, allocations: 4 kB / 0.6834 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.13, allocations: 99.28 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.13, allocations: 0 / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002912/0.1303, allocations: 145.5 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1303, allocations: 63.34 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.1304, allocations: 130.2 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1305, allocations: 25.7 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.1305, allocations: 96.27 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.1305, allocations: 31.7 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.1306, allocations: 25.7 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.1307, allocations: 322.8 kB / 0.6843 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-05/0.1308, allocations: 27.98 kB / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/0.1308, allocations: 35.92 kB / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1309, allocations: 67.59 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1309, allocations: 0 / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000168/0.1311, allocations: 109.6 kB / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.1311, allocations: 4 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1311, allocations: 0 / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.1311, allocations: 4 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1313, allocations: 19.92 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1313, allocations: 0 / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1314, allocations: 19.94 kB / 0.6846 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1314, allocations: 3.984 kB / 0.6846 GB, free: 11.67 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.575e-05/0.1315, allocations: 119.2 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.1315, allocations: 11.89 kB / 0.6847 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.1318, allocations: 146 kB / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1318, allocations: 0 / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1318, allocations: 0 / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1318, allocations: 7.922 kB / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1319, allocations: 221.4 kB / 0.685 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.1319, allocations: 3.938 kB / 0.685 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.132, allocations: 16 kB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.132, allocations: 4 kB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1321, allocations: 3.984 kB / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1321, allocations: 4 kB / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1321, allocations: 0 / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1323, allocations: 168.1 kB / 0.6852 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.1323, allocations: 85.02 kB / 0.6853 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1324, allocations: 8 kB / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1325, allocations: 7.984 kB / 0.6853 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1325, allocations: 15.92 kB / 0.6853 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1326, allocations: 7.984 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.232e-05/0.1326, allocations: 95.28 kB / 0.6854 GB, free: 10.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1326, allocations: 0 / 0.6854 GB, free: 10.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001929/0.1328, allocations: 23.98 kB / 0.6855 GB, free: 10.64 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00045/0.1333, allocations: 0.7059 MB / 0.6862 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.1334, allocations: 83.97 kB / 0.6862 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1335, allocations: 0 / 0.6862 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.1335, allocations: 51.91 kB / 0.6863 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.1337, allocations: 15.94 kB / 0.6863 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.135, allocations: 1.485 MB / 0.6878 GB, free: 8.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1352, allocations: 0.7004 MB / 0.6884 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.467e-05/0.1353, allocations: 12.5 kB / 0.6885 GB, free: 7.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.1354, allocations: 31.42 kB / 0.6885 GB, free: 7.426 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1354, allocations: 0 / 0.6885 GB, free: 7.426 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.173/3.308, allocations: 2.084 MB / 0.6905 GB, free: 5.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/3.309, allocations: 241.3 kB / 0.6907 GB, free: 5.246 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/6.215, allocations: 2 kB / 0.6907 GB, free: 5.246 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)