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.001124/0.001124, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001117/0.001118, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.157/1.157, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6569/0.6569, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 63.34 kB / 0.5014 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1203, allocations: 80.2 MB / 0.5797 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002136/0.1225, allocations: 1.468 MB / 0.5811 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004441/0.123, allocations: 371.1 kB / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.123, allocations: 0 / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.123, allocations: 4 kB / 0.5815 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.956e-05/0.1231, allocations: 4 kB / 0.5815 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.873e-05/0.1231, allocations: 0 / 0.5815 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.1232, allocations: 31.84 kB / 0.5815 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.692e-05/0.1233, allocations: 4 kB / 0.5815 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1234, allocations: 7.938 kB / 0.5815 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.1234, allocations: 11.92 kB / 0.5815 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.1234, allocations: 4 kB / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5e-06/0.1234, allocations: 0 / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.1235, allocations: 0 / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.1235, allocations: 12 kB / 0.5815 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.571e-05/0.1235, allocations: 15.91 kB / 0.5816 GB, free: 7.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1235, allocations: 0 / 0.5816 GB, free: 7.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1235, allocations: 0 / 0.5816 GB, free: 7.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1236, allocations: 0 / 0.5816 GB, free: 7.094 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.0002886/0.1238, allocations: 331.7 kB / 0.5819 GB, free: 6.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1239, allocations: 8.031 kB / 0.5819 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.1239, allocations: 38.73 kB / 0.5819 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.476e-05/0.1239, allocations: 0.9375 kB / 0.5819 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.934e-05/0.124, allocations: 172.4 kB / 0.5821 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1241, allocations: 4.375 kB / 0.5821 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-06/0.1241, allocations: 4.375 kB / 0.5821 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.778e-05/0.1241, allocations: 41.77 kB / 0.5821 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-06/0.1241, allocations: 0 / 0.5821 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-06/0.1241, allocations: 0 / 0.5821 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.1242, allocations: 0 / 0.5821 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.612e-05/0.1242, allocations: 11.98 kB / 0.5821 GB, free: 6.395 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.1244, allocations: 248.8 kB / 0.5824 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.1245, allocations: 26.55 kB / 0.5824 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.1245, allocations: 20.86 kB / 0.5824 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.1245, allocations: 0 / 0.5824 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1245, allocations: 30.56 kB / 0.5825 GB, free: 6.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.1245, allocations: 0 / 0.5825 GB, free: 6.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001042/0.1246, allocations: 45.7 kB / 0.5825 GB, free: 5.953 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.1247, allocations: 55.39 kB / 0.5826 GB, free: 5.887 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.1247, allocations: 97.86 kB / 0.5826 GB, free: 5.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.1248, allocations: 25.7 kB / 0.5827 GB, free: 5.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.1248, allocations: 80.14 kB / 0.5828 GB, free: 5.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.1248, allocations: 15.78 kB / 0.5828 GB, free: 5.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.1248, allocations: 13.72 kB / 0.5828 GB, free: 5.633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.1249, allocations: 322.7 kB / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.1249, allocations: 8.125 kB / 0.5831 GB, free: 5.301 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-06/0.125, allocations: 0 / 0.5831 GB, free: 5.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.226e-05/0.125, allocations: 16.86 kB / 0.5831 GB, free: 5.281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.125, allocations: 0 / 0.5831 GB, free: 5.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.812e-05/0.125, allocations: 37.7 kB / 0.5831 GB, free: 5.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.125, allocations: 4 kB / 0.5831 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1251, allocations: 3.984 kB / 0.5832 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/0.1251, allocations: 0 / 0.5832 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.856e-05/0.1251, allocations: 12.03 kB / 0.5832 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.1251, allocations: 0 / 0.5832 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.1251, allocations: 0 / 0.5832 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-06/0.1251, allocations: 0 / 0.5832 GB, free: 5.219 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 (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 5.124e-05/0.1252, allocations: 114.4 kB / 0.5833 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.1252, allocations: 0 / 0.5833 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.1252, allocations: 7.125 kB / 0.5833 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1253, allocations: 4 kB / 0.5833 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1253, allocations: 0 / 0.5833 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-06/0.1253, allocations: 0 / 0.5833 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1254, allocations: 161.6 kB / 0.5834 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1254, allocations: 0 / 0.5834 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/0.1254, allocations: 3.984 kB / 0.5834 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1254, allocations: 4 kB / 0.5834 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.1254, allocations: 192 / 0.5834 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1254, allocations: 0 / 0.5834 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1254, allocations: 3.938 kB / 0.5835 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.935e-05/0.1255, allocations: 147.3 kB / 0.5836 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.1256, allocations: 81.09 kB / 0.5837 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.1256, allocations: 8 kB / 0.5837 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.241e-05/0.1256, allocations: 0 / 0.5837 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-06/0.1256, allocations: 0 / 0.5837 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.1256, allocations: 0 / 0.5837 GB, free: 4.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.983e-05/0.1257, allocations: 83.28 kB / 0.5838 GB, free: 4.516 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1257, allocations: 0 / 0.5838 GB, free: 4.516 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000195/0.1259, allocations: 4 kB / 0.5838 GB, free: 4.512 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 (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.0002746/0.1262, allocations: 0.6695 MB / 0.5844 GB, free: 3.816 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.31e-05/0.1262, allocations: 11.94 kB / 0.5844 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.1262, allocations: 0 / 0.5844 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.1262, allocations: 7.984 kB / 0.5844 GB, free: 3.797 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.1264, allocations: 10.17 kB / 0.5844 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007324/0.1272, allocations: 1.156 MB / 0.5856 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.1274, allocations: 0.6768 MB / 0.5862 GB, free: 1.852 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.095e-05/0.1274, allocations: 0 / 0.5862 GB, free: 1.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.1274, allocations: 15.44 kB / 0.5862 GB, free: 1.836 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1274, allocations: 0 / 0.5862 GB, free: 1.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.185/0.3124, allocations: 0.9464 MB / 0.5872 GB, free: 1.059 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.3127, allocations: 228.9 kB / 0.5874 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.018, allocations: 0 / 0.5874 GB, free: 0.7969 MB / 494.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/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)