Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.001201/0.001201, 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.001374/0.001374, allocations: 197.1 kB / 16.14 MB, free: 6.715 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7303/0.7303, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.69 kB / 0.5012 GB, free: 9.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.123, allocations: 80.21 MB / 0.5795 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001701/0.1248, allocations: 0.7511 MB / 0.5802 GB, free: 8.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.1258, allocations: 1.094 MB / 0.5813 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.644e-05/0.1258, allocations: 0 / 0.5813 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.1258, allocations: 4 kB / 0.5813 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.279e-05/0.1259, allocations: 3.938 kB / 0.5813 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.126, allocations: 11.98 kB / 0.5813 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.609e-05/0.126, allocations: 27.91 kB / 0.5813 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.1261, allocations: 0 / 0.5813 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.025e-05/0.1262, allocations: 7.938 kB / 0.5814 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.1262, allocations: 11.98 kB / 0.5814 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1262, allocations: 4 kB / 0.5814 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-06/0.1263, allocations: 0 / 0.5814 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.1263, allocations: 7.938 kB / 0.5814 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.1263, allocations: 7.984 kB / 0.5814 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.946e-05/0.1264, allocations: 11.97 kB / 0.5814 GB, free: 7.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1264, allocations: 4 kB / 0.5814 GB, free: 7.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.1264, allocations: 0 / 0.5814 GB, free: 7.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.1264, allocations: 0 / 0.5814 GB, free: 7.156 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003247/0.1267, allocations: 323.8 kB / 0.5817 GB, free: 6.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1267, allocations: 8.031 kB / 0.5817 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.705e-05/0.1268, allocations: 42.69 kB / 0.5818 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.1268, allocations: 8.844 kB / 0.5818 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/0.1269, allocations: 168.4 kB / 0.5819 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1269, allocations: 384 / 0.5819 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1269, allocations: 8.375 kB / 0.5819 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.592e-05/0.127, allocations: 41.75 kB / 0.582 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.127, allocations: 0 / 0.582 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.127, allocations: 4 kB / 0.582 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.127, allocations: 0 / 0.582 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.642e-05/0.1271, allocations: 11.98 kB / 0.582 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.1274, allocations: 248.9 kB / 0.5822 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1275, allocations: 46.5 kB / 0.5823 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.1275, allocations: 12.92 kB / 0.5823 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1276, allocations: 4 kB / 0.5823 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.1276, allocations: 34.56 kB / 0.5823 GB, free: 6.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1276, allocations: 0 / 0.5823 GB, free: 6.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001399/0.1277, allocations: 53.86 kB / 0.5824 GB, free: 5.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.1278, allocations: 55.41 kB / 0.5824 GB, free: 5.918 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.459e-05/0.1278, allocations: 89.86 kB / 0.5825 GB, free: 5.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1278, allocations: 29.64 kB / 0.5825 GB, free: 5.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.1279, allocations: 80.14 kB / 0.5826 GB, free: 5.703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.1279, allocations: 3.906 kB / 0.5826 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1279, allocations: 25.7 kB / 0.5826 GB, free: 5.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.128, allocations: 310.8 kB / 0.5829 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.128, allocations: 4 kB / 0.5829 GB, free: 5.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.128, allocations: 11.98 kB / 0.583 GB, free: 5.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/0.1281, allocations: 24.78 kB / 0.583 GB, free: 5.312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1281, allocations: 0 / 0.583 GB, free: 5.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.962e-05/0.1282, allocations: 49.59 kB / 0.583 GB, free: 5.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.1282, allocations: 4 kB / 0.583 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1282, allocations: 3.938 kB / 0.583 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.1282, allocations: 4 kB / 0.583 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.61e-05/0.1283, allocations: 11.92 kB / 0.5831 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1283, allocations: 0 / 0.5831 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.1283, allocations: 4 kB / 0.5831 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1283, allocations: 4 kB / 0.5831 GB, free: 5.227 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 (3): * Single equations (assignments): 3 * 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.756e-05/0.1284, allocations: 114.4 kB / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1284, allocations: 0 / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.1285, allocations: 73.17 kB / 0.5832 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1285, allocations: 8 kB / 0.5832 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1285, allocations: 0 / 0.5832 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1286, allocations: 0 / 0.5832 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.1287, allocations: 165.5 kB / 0.5834 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1287, allocations: 4 kB / 0.5834 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.1288, allocations: 15.92 kB / 0.5834 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1288, allocations: 0 / 0.5834 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1288, allocations: 4.062 kB / 0.5834 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1288, allocations: 0 / 0.5834 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1288, allocations: 0 / 0.5834 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.1289, allocations: 163.5 kB / 0.5836 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.129, allocations: 85.02 kB / 0.5837 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.129, allocations: 0 / 0.5837 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.508e-05/0.129, allocations: 0 / 0.5837 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.1291, allocations: 7.984 kB / 0.5837 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1291, allocations: 0 / 0.5837 GB, free: 4.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.438e-05/0.1291, allocations: 75.28 kB / 0.5837 GB, free: 4.418 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1291, allocations: 0 / 0.5837 GB, free: 4.418 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.1293, allocations: 12 kB / 0.5838 GB, free: 4.406 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 (6): * Single equations (assignments): 6 * 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.0003237/0.1296, allocations: 0.689 MB / 0.5844 GB, free: 3.691 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.166e-05/0.1297, allocations: 23.98 kB / 0.5844 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1297, allocations: 0 / 0.5844 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.1298, allocations: 23.92 kB / 0.5845 GB, free: 3.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.13, allocations: 8 kB / 0.5845 GB, free: 3.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.1303, allocations: 152.9 kB / 0.5846 GB, free: 3.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.1305, allocations: 0.6809 MB / 0.5853 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.1305, allocations: 240 / 0.5853 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.1306, allocations: 11.44 kB / 0.5853 GB, free: 2.727 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1306, allocations: 4 kB / 0.5853 GB, free: 2.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009002/0.1396, allocations: 1.056 MB / 0.5863 GB, free: 1.82 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.1398, allocations: 220.5 kB / 0.5865 GB, free: 1.566 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/1.677, allocations: 0 / 0.5865 GB, free: 1.566 MB / 494.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)