Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001045/0.001045, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001171/0.001171, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9291/0.9291, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 9.156 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1791, allocations: 82.33 MB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001676/0.1808, allocations: 1.122 MB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005473/0.1814, allocations: 347.6 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.1814, allocations: 0 / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.1814, allocations: 3.984 kB / 0.5889 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.832e-05/0.1815, allocations: 3.984 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.623e-05/0.1816, allocations: 0 / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.095e-05/0.1816, allocations: 19.88 kB / 0.5889 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.1817, allocations: 7.984 kB / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1819, allocations: 8 kB / 0.589 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.1819, allocations: 7.938 kB / 0.589 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.182, allocations: 4 kB / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-06/0.182, allocations: 0 / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.182, allocations: 3.984 kB / 0.589 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.182, allocations: 25.7 kB / 0.589 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.545e-05/0.1821, allocations: 11.97 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1821, allocations: 4 kB / 0.589 GB, free: 1.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1821, allocations: 0 / 0.589 GB, free: 1.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1821, allocations: 0 / 0.589 GB, free: 1.273 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003886/0.1825, allocations: 331.5 kB / 0.5893 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1826, allocations: 8.031 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.1826, allocations: 34.56 kB / 0.5894 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.1826, allocations: 0 / 0.5894 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1828, allocations: 171 kB / 0.5895 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1828, allocations: 7.938 kB / 0.5895 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-06/0.1828, allocations: 0 / 0.5895 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.161e-05/0.1829, allocations: 33.69 kB / 0.5896 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1829, allocations: 0 / 0.5896 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.1829, allocations: 0 / 0.5896 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1829, allocations: 0 / 0.5896 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.247e-05/0.183, allocations: 15.94 kB / 0.5896 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.1833, allocations: 248.9 kB / 0.5898 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.1833, allocations: 18.58 kB / 0.5898 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.1834, allocations: 16.92 kB / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.1834, allocations: 0 / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1834, allocations: 38.55 kB / 0.5899 GB, free: 200 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1834, allocations: 0 / 0.5899 GB, free: 200 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001438/0.1836, allocations: 45.55 kB / 0.5899 GB, free: 148 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1836, allocations: 55.41 kB / 0.59 GB, free: 80 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.1837, allocations: 101.8 kB / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1837, allocations: 29.69 kB / 0.5901 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.1838, allocations: 84.14 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.1838, allocations: 7.969 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.1838, allocations: 4 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1839, allocations: 318.8 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.1839, allocations: 0 / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/0.184, allocations: 4 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.439e-05/0.184, allocations: 0 / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.184, allocations: 0 / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.391e-05/0.1841, allocations: 41.69 kB / 0.5906 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1841, allocations: 11.94 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1841, allocations: 4.094 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1841, allocations: 0 / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.1842, allocations: 4 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1842, allocations: 0 / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.1842, allocations: 192 / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1842, allocations: 3.953 kB / 0.5906 GB, free: 15.44 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.921e-05/0.1843, allocations: 109.8 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1843, allocations: 7.984 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.1843, allocations: 7.109 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1843, allocations: 7.938 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1843, allocations: 0 / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1844, allocations: 0 / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.1845, allocations: 157.6 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1845, allocations: 0 / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.1845, allocations: 4 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1845, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.1845, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1845, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1846, allocations: 4 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.1847, allocations: 147.4 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.1847, allocations: 81.02 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.1847, allocations: 3.938 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.438e-05/0.1848, allocations: 0 / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.1848, allocations: 4 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-06/0.1848, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.1848, allocations: 87.27 kB / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1848, allocations: 0 / 0.5912 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000208/0.185, allocations: 4.031 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003585/0.1854, allocations: 0.6656 MB / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.268e-05/0.1855, allocations: 15.92 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1855, allocations: 0 / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.1855, allocations: 8.094 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1857, allocations: 4 kB / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.1863, allocations: 336.5 kB / 0.5922 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.1865, allocations: 0.6731 MB / 0.5928 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.1866, allocations: 12.11 kB / 0.5928 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.1866, allocations: 11.44 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1866, allocations: 0 / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.1971, allocations: 0.8716 MB / 0.5937 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.1973, allocations: 203.4 kB / 0.5939 GB, free: 12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.779, allocations: 0 / 0.5939 GB, free: 12 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) Environment - environmentSimulation: