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.0008911/0.000891, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005773/0.005773, allocations: 174.1 kB / 16.26 MB, free: 6.336 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.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001622/0.001622, allocations: 271 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8706/0.8706, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 18.88 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.132, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001453/0.1335, allocations: 1.319 MB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006763/0.1342, allocations: 0.5226 MB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.1342, allocations: 4 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.1342, allocations: 7.922 kB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.1345, allocations: 36.81 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.35e-05/0.1346, allocations: 31.42 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1347, allocations: 107.6 kB / 0.6872 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.1348, allocations: 23.92 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.1349, allocations: 39.84 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.135, allocations: 47.77 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.135, allocations: 4.625 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.915e-05/0.135, allocations: 4.625 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.1351, allocations: 19.91 kB / 0.6873 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.1351, allocations: 66.05 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.345e-05/0.1352, allocations: 76.64 kB / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1352, allocations: 0 / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1352, allocations: 0 / 0.6875 GB, free: 12.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.1352, allocations: 1.625 kB / 0.6875 GB, free: 12.66 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.0005633/0.1358, allocations: 397.6 kB / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1359, allocations: 12.03 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.1359, allocations: 38.73 kB / 0.6879 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1359, allocations: 9.594 kB / 0.6879 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1361, allocations: 184.2 kB / 0.6881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1361, allocations: 5.562 kB / 0.6881 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.1361, allocations: 4.375 kB / 0.6881 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1363, allocations: 94.27 kB / 0.6882 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1363, allocations: 0 / 0.6882 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1363, allocations: 5.656 kB / 0.6882 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1363, allocations: 4 kB / 0.6882 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.806e-05/0.1364, allocations: 47.97 kB / 0.6883 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.1368, allocations: 351.6 kB / 0.6886 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.1371, allocations: 113.3 kB / 0.6887 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.1372, allocations: 40.84 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.1372, allocations: 0 / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.1374, allocations: 99.33 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1374, allocations: 0.7812 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.000277/0.1377, allocations: 145.4 kB / 0.689 GB, free: 10.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1377, allocations: 64.27 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.1378, allocations: 122.5 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1378, allocations: 30.17 kB / 0.6892 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.1379, allocations: 101.4 kB / 0.6893 GB, free: 10.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.1379, allocations: 31.69 kB / 0.6893 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.1379, allocations: 21.7 kB / 0.6893 GB, free: 10.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.138, allocations: 319.8 kB / 0.6896 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.1381, allocations: 27.98 kB / 0.6897 GB, free: 10.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.1382, allocations: 31.98 kB / 0.6897 GB, free: 10.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1383, allocations: 64.47 kB / 0.6897 GB, free: 10.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1383, allocations: 0 / 0.6897 GB, free: 10.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001642/0.1385, allocations: 113.5 kB / 0.6899 GB, free: 10.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.1385, allocations: 4 kB / 0.6899 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1385, allocations: 4 kB / 0.6899 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.1385, allocations: 0 / 0.6899 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.686e-05/0.1386, allocations: 19.98 kB / 0.6899 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1386, allocations: 4 kB / 0.6899 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.1387, allocations: 15.92 kB / 0.6899 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1387, allocations: 4 kB / 0.6899 GB, free: 9.961 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.705e-05/0.1388, allocations: 123.1 kB / 0.69 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.1388, allocations: 7.906 kB / 0.69 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.1391, allocations: 142 kB / 0.6902 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1391, allocations: 4 kB / 0.6902 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1391, allocations: 4 kB / 0.6902 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1391, allocations: 7.875 kB / 0.6902 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.1393, allocations: 217.4 kB / 0.6904 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1393, allocations: 0 / 0.6904 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.1393, allocations: 19.92 kB / 0.6904 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1394, allocations: 0 / 0.6904 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1394, allocations: 12 kB / 0.6904 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1394, allocations: 0 / 0.6904 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1394, allocations: 0 / 0.6904 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1396, allocations: 167.4 kB / 0.6906 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.1396, allocations: 89 kB / 0.6907 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1397, allocations: 0 / 0.6907 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1398, allocations: 12 kB / 0.6907 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.1398, allocations: 15.91 kB / 0.6907 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1398, allocations: 4 kB / 0.6907 GB, free: 9.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.407e-05/0.1399, allocations: 103.3 kB / 0.6908 GB, free: 8.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1399, allocations: 0 / 0.6908 GB, free: 8.953 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.1401, allocations: 28 kB / 0.6908 GB, free: 8.926 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.0004386/0.1406, allocations: 0.7021 MB / 0.6915 GB, free: 8.195 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.1407, allocations: 87.83 kB / 0.6916 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1407, allocations: 4 kB / 0.6916 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.1408, allocations: 51.92 kB / 0.6916 GB, free: 8.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.141, allocations: 16.69 kB / 0.6917 GB, free: 8.039 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1422, allocations: 1.478 MB / 0.6931 GB, free: 6.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.1424, allocations: 0.6965 MB / 0.6938 GB, free: 5.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.1425, allocations: 16.55 kB / 0.6938 GB, free: 5.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.1425, allocations: 31.42 kB / 0.6938 GB, free: 5.711 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1426, allocations: 0 / 0.6938 GB, free: 5.711 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.384/2.527, allocations: 2.019 MB / 0.6958 GB, free: 3.883 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/2.527, allocations: 235.8 kB / 0.696 GB, free: 3.633 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/3.968, allocations: 0 / 0.696 GB, free: 3.633 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)