Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_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.001271/0.001271, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001492/0.001492, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.058/2.058, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.17/1.17, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006357/0.0006359, allocations: 12 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6561, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003135/0.6593, allocations: 1.129 MB / 0.5841 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.6606, allocations: 347.8 kB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.6607, allocations: 1.594 kB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.6608, allocations: 0.6562 kB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.6609, allocations: 4.781 kB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.807e-05/0.661, allocations: 5.453 kB / 0.5844 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.6611, allocations: 10.61 kB / 0.5844 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.6613, allocations: 7.828 kB / 0.5844 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.6616, allocations: 16.61 kB / 0.5844 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.6617, allocations: 8.812 kB / 0.5845 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.6617, allocations: 0 / 0.5845 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.6617, allocations: 0.5938 kB / 0.5845 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.6618, allocations: 1.531 kB / 0.5845 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.6618, allocations: 31.36 kB / 0.5845 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.709e-05/0.6619, allocations: 16.11 kB / 0.5845 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6619, allocations: 0 / 0.5845 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.175e-06/0.6619, allocations: 0 / 0.5845 GB, free: 2.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.662, allocations: 1.219 kB / 0.5845 GB, free: 2.898 MB / 430.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.0005207/0.6625, allocations: 323 kB / 0.5848 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.507e-05/0.6626, allocations: 9.578 kB / 0.5848 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.6627, allocations: 31.66 kB / 0.5849 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.6627, allocations: 9.422 kB / 0.5849 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.6629, allocations: 171 kB / 0.585 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.663, allocations: 0 / 0.585 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.663, allocations: 2.141 kB / 0.585 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.6631, allocations: 34.5 kB / 0.5851 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.6631, allocations: 1.828 kB / 0.5851 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.6632, allocations: 3.938 kB / 0.5851 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.6632, allocations: 4 kB / 0.5851 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.861e-05/0.6632, allocations: 4.703 kB / 0.5851 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.6637, allocations: 247.8 kB / 0.5853 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.6638, allocations: 21.81 kB / 0.5853 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.6638, allocations: 0 / 0.5853 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.6638, allocations: 43.44 kB / 0.5854 GB, free: 1.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.983e-06/0.6638, allocations: 0 / 0.5854 GB, free: 1.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002295/0.6641, allocations: 41.05 kB / 0.5854 GB, free: 1.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.6641, allocations: 59.98 kB / 0.5855 GB, free: 1.797 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.6642, allocations: 100.7 kB / 0.5856 GB, free: 1.695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.6643, allocations: 25.7 kB / 0.5856 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.6644, allocations: 86.11 kB / 0.5857 GB, free: 1.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.6644, allocations: 5.906 kB / 0.5857 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-06/0.6644, allocations: 0 / 0.5857 GB, free: 1.574 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.6645, allocations: 320.8 kB / 0.586 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.6645, allocations: 1.875 kB / 0.586 GB, free: 1.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.6645, allocations: 7.188 kB / 0.586 GB, free: 1.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.6646, allocations: 2.281 kB / 0.586 GB, free: 1.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6646, allocations: 3.938 kB / 0.586 GB, free: 1.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/0.6647, allocations: 40.3 kB / 0.586 GB, free: 1.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.6648, allocations: 5.281 kB / 0.586 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6648, allocations: 0 / 0.586 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.6648, allocations: 4.75 kB / 0.586 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.6649, allocations: 3.125 kB / 0.586 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6649, allocations: 1.828 kB / 0.5861 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.665, allocations: 3.953 kB / 0.5861 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.665, allocations: 0.9688 kB / 0.5861 GB, free: 1.203 MB / 430.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 (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 9.113e-05/0.6651, allocations: 108.4 kB / 0.5862 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.6651, allocations: 1.938 kB / 0.5862 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.6652, allocations: 7.734 kB / 0.5862 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.6652, allocations: 1.094 kB / 0.5862 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.6652, allocations: 4 kB / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.6652, allocations: 1.578 kB / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.6654, allocations: 152.4 kB / 0.5863 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6654, allocations: 1.359 kB / 0.5863 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.6655, allocations: 2.469 kB / 0.5863 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.6655, allocations: 9.234 kB / 0.5863 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.6655, allocations: 1.281 kB / 0.5863 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6655, allocations: 0 / 0.5863 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6655, allocations: 0.6094 kB / 0.5863 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.6657, allocations: 142.9 kB / 0.5865 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.6657, allocations: 82.53 kB / 0.5865 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.6657, allocations: 2.219 kB / 0.5866 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.6658, allocations: 0 / 0.5866 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.6658, allocations: 1.703 kB / 0.5866 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.6659, allocations: 1.156 kB / 0.5866 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.511e-05/0.6659, allocations: 83.69 kB / 0.5866 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6659, allocations: 0 / 0.5866 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.6663, allocations: 7.188 kB / 0.5866 GB, free: 0.5547 MB / 430.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 (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.0004452/0.6668, allocations: 0.6673 MB / 0.5873 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.6669, allocations: 15.33 kB / 0.5873 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6669, allocations: 0 / 0.5873 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.6669, allocations: 8.859 kB / 0.5873 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.6672, allocations: 1.312 kB / 0.5873 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.6681, allocations: 345.6 kB / 0.5876 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.6685, allocations: 0.6772 MB / 0.5883 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.95e-05/0.6685, allocations: 5.953 kB / 0.5883 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.6686, allocations: 9.156 kB / 0.5883 GB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6686, allocations: 0 / 0.5883 GB, free: 14.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.6852, allocations: 0.8512 MB / 0.5892 GB, free: 14.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/0.6855, allocations: 203 kB / 0.5893 GB, free: 14.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.949, allocations: 0.9062 kB / 0.5893 GB, free: 14.49 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) Environment - environmentSimulation: