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.00478/0.00478, allocations: 98.91 kB / 15.73 MB, free: 6.008 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.001084/0.001084, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.749/0.749, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.23 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1544, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002766/0.1572, allocations: 1.413 MB / 0.6606 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006751/0.1579, allocations: 383.1 kB / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.158, allocations: 0 / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.158, allocations: 0 / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.1581, allocations: 3.938 kB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.871e-05/0.1581, allocations: 0 / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.649e-05/0.1582, allocations: 19.92 kB / 0.661 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1583, allocations: 8 kB / 0.661 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1585, allocations: 15.91 kB / 0.661 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.1585, allocations: 7.938 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1586, allocations: 4 kB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-06/0.1586, allocations: 0 / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.1586, allocations: 8 kB / 0.661 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.1586, allocations: 3.938 kB / 0.661 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.283e-05/0.1587, allocations: 14.8 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1587, allocations: 4 kB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1587, allocations: 0 / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1587, allocations: 0 / 0.661 GB, free: 8.883 MB / 0.4981 GB 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.0003989/0.1591, allocations: 323.6 kB / 0.6613 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1592, allocations: 11.97 kB / 0.6614 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.1592, allocations: 38.73 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.1593, allocations: 8.844 kB / 0.6614 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1594, allocations: 161 kB / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1594, allocations: 384 / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.1594, allocations: 384 / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.071e-05/0.1595, allocations: 49.75 kB / 0.6616 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1595, allocations: 0 / 0.6616 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.1596, allocations: 0 / 0.6616 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1596, allocations: 0 / 0.6616 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.1596, allocations: 8 kB / 0.6616 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.1599, allocations: 248.9 kB / 0.6618 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.141e-05/0.16, allocations: 26.52 kB / 0.6619 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.16, allocations: 12.92 kB / 0.6619 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.16, allocations: 4 kB / 0.6619 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.16, allocations: 30.56 kB / 0.6619 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1601, allocations: 4 kB / 0.6619 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.1602, allocations: 45.62 kB / 0.662 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.1602, allocations: 51.41 kB / 0.662 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/0.1603, allocations: 97.86 kB / 0.6621 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.1603, allocations: 25.7 kB / 0.6621 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.1604, allocations: 84.42 kB / 0.6622 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.1604, allocations: 11.83 kB / 0.6622 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.1604, allocations: 17.78 kB / 0.6622 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.1605, allocations: 322.8 kB / 0.6625 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.1606, allocations: 0 / 0.6625 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.1606, allocations: 4 kB / 0.6625 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/0.1606, allocations: 12.86 kB / 0.6626 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1606, allocations: 0 / 0.6626 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.624e-05/0.1607, allocations: 45.59 kB / 0.6626 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1607, allocations: 8 kB / 0.6626 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1607, allocations: 4.094 kB / 0.6626 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1607, allocations: 0 / 0.6626 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.365e-05/0.1608, allocations: 4 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1608, allocations: 3.938 kB / 0.6626 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.1608, allocations: 0 / 0.6626 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1608, allocations: 7.938 kB / 0.6626 GB, free: 7.012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/0.1609, allocations: 114.7 kB / 0.6627 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.1609, allocations: 4 kB / 0.6627 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.1609, allocations: 3.312 kB / 0.6627 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.161, allocations: 11.97 kB / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.161, allocations: 0 / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.161, allocations: 0 / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1611, allocations: 157.6 kB / 0.6629 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1611, allocations: 0 / 0.6629 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.1612, allocations: 4 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1612, allocations: 0 / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1612, allocations: 0 / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1612, allocations: 0 / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1612, allocations: 0 / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.1613, allocations: 151.4 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.1613, allocations: 77.11 kB / 0.6631 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.1614, allocations: 0 / 0.6631 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.1614, allocations: 0 / 0.6631 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.1614, allocations: 4 kB / 0.6631 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1614, allocations: 0 / 0.6631 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.1615, allocations: 79.28 kB / 0.6632 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1615, allocations: 0 / 0.6632 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002251/0.1617, allocations: 4.031 kB / 0.6632 GB, free: 6.316 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 (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.0003961/0.1621, allocations: 0.6772 MB / 0.6639 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.678e-05/0.1622, allocations: 19.92 kB / 0.6639 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1622, allocations: 0 / 0.6639 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.017e-05/0.1622, allocations: 8.094 kB / 0.6639 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.1624, allocations: 4.297 kB / 0.6639 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.1634, allocations: 1.148 MB / 0.665 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.1637, allocations: 0.6729 MB / 0.6657 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.535e-05/0.1637, allocations: 4 kB / 0.6657 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.1637, allocations: 7.438 kB / 0.6657 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1637, allocations: 0 / 0.6657 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.181, allocations: 1.059 MB / 0.6667 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/7.063, allocations: 11 kB / 0.6667 GB, free: 2.715 MB / 0.4981 GB (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/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)