Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_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.001154/0.001154, 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.001206/0.001206, allocations: 192.6 kB / 16.14 MB, free: 6.707 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6946/0.6946, allocations: 132.2 MB / 422.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 58.91 kB / 0.5012 GB, free: 9.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1372, allocations: 80.21 MB / 0.5795 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00231/0.1395, allocations: 1.542 MB / 0.581 GB, free: 7.605 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005756/0.1401, allocations: 423 kB / 0.5814 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.1402, allocations: 0 / 0.5814 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.1402, allocations: 7.922 kB / 0.5814 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.746e-05/0.1403, allocations: 3.984 kB / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.1404, allocations: 19.92 kB / 0.5814 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.1405, allocations: 43.86 kB / 0.5815 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.1405, allocations: 23.92 kB / 0.5815 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.407e-05/0.1406, allocations: 15.98 kB / 0.5815 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.1407, allocations: 19.91 kB / 0.5815 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1407, allocations: 4 kB / 0.5815 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.1407, allocations: 4 kB / 0.5815 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.1408, allocations: 7.938 kB / 0.5816 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.1408, allocations: 15.92 kB / 0.5816 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.791e-05/0.1409, allocations: 44.09 kB / 0.5816 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1409, allocations: 0 / 0.5816 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.1409, allocations: 0 / 0.5816 GB, free: 6.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.1409, allocations: 4 kB / 0.5816 GB, free: 6.977 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003914/0.1413, allocations: 343.4 kB / 0.5819 GB, free: 6.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1413, allocations: 12.03 kB / 0.582 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.1414, allocations: 34.75 kB / 0.582 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.1414, allocations: 8.844 kB / 0.582 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1415, allocations: 164.3 kB / 0.5822 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.1415, allocations: 4.375 kB / 0.5822 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1415, allocations: 8.375 kB / 0.5822 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.222e-05/0.1416, allocations: 61.73 kB / 0.5822 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1416, allocations: 0 / 0.5822 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1416, allocations: 4 kB / 0.5822 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1417, allocations: 0 / 0.5822 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.1417, allocations: 27.92 kB / 0.5823 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.142, allocations: 288.7 kB / 0.5825 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1422, allocations: 62.66 kB / 0.5826 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.1423, allocations: 24.86 kB / 0.5826 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1423, allocations: 3.984 kB / 0.5826 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.1423, allocations: 30.56 kB / 0.5826 GB, free: 5.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1423, allocations: 4 kB / 0.5827 GB, free: 5.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001592/0.1425, allocations: 61.88 kB / 0.5827 GB, free: 5.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.1425, allocations: 55.41 kB / 0.5828 GB, free: 5.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.936e-05/0.1426, allocations: 113.8 kB / 0.5829 GB, free: 5.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1426, allocations: 25.7 kB / 0.5829 GB, free: 5.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.1427, allocations: 84.08 kB / 0.583 GB, free: 5.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1427, allocations: 19.72 kB / 0.583 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.1427, allocations: 21.7 kB / 0.583 GB, free: 5.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.1428, allocations: 314.8 kB / 0.5833 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.1428, allocations: 16.06 kB / 0.5833 GB, free: 4.996 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.1429, allocations: 15.98 kB / 0.5833 GB, free: 4.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.45e-05/0.1429, allocations: 24.86 kB / 0.5834 GB, free: 4.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1429, allocations: 0 / 0.5834 GB, free: 4.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.234e-05/0.143, allocations: 61.69 kB / 0.5834 GB, free: 4.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.143, allocations: 4 kB / 0.5834 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.143, allocations: 0 / 0.5834 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.1431, allocations: 3.938 kB / 0.5834 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.1431, allocations: 11.98 kB / 0.5834 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1431, allocations: 0 / 0.5834 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.1432, allocations: 4 kB / 0.5835 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1432, allocations: 0 / 0.5835 GB, free: 4.863 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.825e-05/0.1432, allocations: 118.4 kB / 0.5836 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1433, allocations: 0 / 0.5836 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.1434, allocations: 85.22 kB / 0.5836 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1434, allocations: 0 / 0.5836 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1434, allocations: 3.984 kB / 0.5836 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1434, allocations: 3.938 kB / 0.5837 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1436, allocations: 189.4 kB / 0.5838 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1436, allocations: 0 / 0.5838 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.1437, allocations: 12 kB / 0.5838 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1437, allocations: 0 / 0.5838 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1437, allocations: 7.875 kB / 0.5839 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1437, allocations: 4.188 kB / 0.5839 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1437, allocations: 0 / 0.5839 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.1439, allocations: 179.5 kB / 0.584 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.1439, allocations: 85.02 kB / 0.5841 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.1439, allocations: 0 / 0.5841 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.144, allocations: 4 kB / 0.5841 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.144, allocations: 11.92 kB / 0.5841 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.144, allocations: 4 kB / 0.5841 GB, free: 4.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.522e-05/0.1441, allocations: 75.28 kB / 0.5842 GB, free: 3.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1441, allocations: 0 / 0.5842 GB, free: 3.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.1443, allocations: 15.94 kB / 0.5842 GB, free: 3.977 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003816/0.1447, allocations: 0.7008 MB / 0.5849 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.364e-05/0.1448, allocations: 35.92 kB / 0.5849 GB, free: 3.215 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1448, allocations: 0 / 0.5849 GB, free: 3.215 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.351e-05/0.1448, allocations: 27.98 kB / 0.585 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.145, allocations: 0 / 0.585 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009765/0.146, allocations: 1.27 MB / 0.5862 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1462, allocations: 0.6809 MB / 0.5869 GB, free: 1.133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.596e-05/0.1463, allocations: 4.25 kB / 0.5869 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.1463, allocations: 23.36 kB / 0.5869 GB, free: 1.105 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1463, allocations: 3.938 kB / 0.5869 GB, free: 1.102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2944/0.4407, allocations: 1.245 MB / 0.5881 GB, free: 4 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/0.441, allocations: 210 kB / 0.5883 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.026, allocations: 0 / 0.5883 GB, free: 15.75 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)