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.0009608/0.0009608, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001002/0.001002, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001919/0.001919, allocations: 290.8 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9231/0.9231, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 103.8 kB / 0.5948 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1337, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002439/0.1362, allocations: 1.651 MB / 0.6814 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007678/0.137, allocations: 0.5329 MB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.1371, allocations: 0 / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.1371, allocations: 0.7188 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.1374, allocations: 41.17 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.1375, allocations: 32.62 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1376, allocations: 107.6 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.1377, allocations: 32.53 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1378, allocations: 51.84 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.758e-05/0.1379, allocations: 47.81 kB / 0.6822 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.1379, allocations: 8 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.138, allocations: 11.94 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.138, allocations: 27.86 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.138, allocations: 35.86 kB / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.1382, allocations: 91.66 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1382, allocations: 4 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1382, allocations: 0 / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1382, allocations: 0 / 0.6823 GB, free: 14.29 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.0006387/0.1388, allocations: 403.1 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1389, allocations: 12.03 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.1389, allocations: 38.73 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.139, allocations: 16.84 kB / 0.6828 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1391, allocations: 176.3 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1391, allocations: 12.31 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1391, allocations: 8.359 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1393, allocations: 85.72 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1393, allocations: 0 / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1393, allocations: 7.984 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1393, allocations: 4 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.873e-05/0.1394, allocations: 43.97 kB / 0.6831 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.1399, allocations: 348.5 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.1402, allocations: 106.7 kB / 0.6836 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.1402, allocations: 44.78 kB / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.1403, allocations: 4 kB / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.1405, allocations: 99.28 kB / 0.6837 GB, free: 12.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1405, allocations: 0 / 0.6837 GB, free: 12.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002913/0.1408, allocations: 145.5 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.1408, allocations: 55.34 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.1409, allocations: 130.2 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1409, allocations: 29.7 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.141, allocations: 96.28 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.141, allocations: 31.69 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.1411, allocations: 29.7 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.1411, allocations: 322.8 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.1412, allocations: 24 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.112e-05/0.1413, allocations: 31.98 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.1414, allocations: 64.09 kB / 0.6846 GB, free: 11.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1414, allocations: 0 / 0.6846 GB, free: 11.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001657/0.1415, allocations: 113.6 kB / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1416, allocations: 15.88 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1416, allocations: 0 / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1416, allocations: 3.984 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1417, allocations: 19.98 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1417, allocations: 0 / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1418, allocations: 11.92 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1418, allocations: 4 kB / 0.6848 GB, free: 11.57 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 8.103e-05/0.1419, allocations: 119.6 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.142, allocations: 11.91 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.1422, allocations: 145.9 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1422, allocations: 4 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1422, allocations: 0 / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1422, allocations: 3.938 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.1424, allocations: 221.4 kB / 0.6853 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1424, allocations: 0 / 0.6853 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.164e-05/0.1425, allocations: 15.98 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1425, allocations: 4 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1425, allocations: 12 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1425, allocations: 0 / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1425, allocations: 0 / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.1428, allocations: 163.8 kB / 0.6854 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.1428, allocations: 89 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1428, allocations: 4 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1429, allocations: 7.984 kB / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.143, allocations: 23.92 kB / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.143, allocations: 4 kB / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.665e-05/0.1431, allocations: 107.1 kB / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1431, allocations: 0 / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.1433, allocations: 20 kB / 0.6857 GB, free: 10.54 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.0004499/0.1437, allocations: 0.7099 MB / 0.6864 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1439, allocations: 91.91 kB / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1439, allocations: 0 / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.144, allocations: 51.92 kB / 0.6865 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.1442, allocations: 11.94 kB / 0.6865 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1455, allocations: 1.482 MB / 0.688 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.1457, allocations: 0.6965 MB / 0.6887 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.804e-05/0.1458, allocations: 8.547 kB / 0.6887 GB, free: 7.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.1458, allocations: 39.36 kB / 0.6887 GB, free: 7.316 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1458, allocations: 4 kB / 0.6887 GB, free: 7.312 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/0.2785, allocations: 2.149 MB / 0.6908 GB, free: 5.344 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002946/0.2788, allocations: 236 kB / 0.691 GB, free: 5.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.889, allocations: 3.234 kB / 0.691 GB, free: 5.09 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)