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.007113/0.007113, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.001408/0.001409, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7596/0.7596, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 62.92 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1332, allocations: 80.2 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001909/0.1352, allocations: 0.694 MB / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1366, allocations: 1.097 MB / 0.6609 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.1366, allocations: 4 kB / 0.6609 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.1366, allocations: 3.938 kB / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.466e-05/0.1367, allocations: 0 / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.1368, allocations: 15.97 kB / 0.661 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.488e-05/0.1369, allocations: 15.94 kB / 0.661 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.137, allocations: 7.984 kB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.1371, allocations: 4 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.1371, allocations: 15.97 kB / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1372, allocations: 7.938 kB / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-06/0.1372, allocations: 4 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.1372, allocations: 0 / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.1372, allocations: 4 kB / 0.661 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.318e-05/0.1373, allocations: 19.91 kB / 0.661 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1373, allocations: 0 / 0.661 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1373, allocations: 3.938 kB / 0.661 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1373, allocations: 0 / 0.661 GB, free: 8.832 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003463/0.1377, allocations: 328.6 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1377, allocations: 16.03 kB / 0.6614 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.1377, allocations: 30.75 kB / 0.6614 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.1378, allocations: 0.9375 kB / 0.6614 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.1379, allocations: 164.3 kB / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.1379, allocations: 384 / 0.6616 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1379, allocations: 12.36 kB / 0.6616 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.629e-05/0.138, allocations: 37.81 kB / 0.6616 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.138, allocations: 0 / 0.6616 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.138, allocations: 4 kB / 0.6616 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.138, allocations: 4 kB / 0.6616 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.05e-05/0.1381, allocations: 11.94 kB / 0.6616 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.1384, allocations: 256.9 kB / 0.6619 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1386, allocations: 42.56 kB / 0.6619 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.1386, allocations: 16.92 kB / 0.6619 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.1386, allocations: 0 / 0.6619 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.1386, allocations: 34.56 kB / 0.662 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1387, allocations: 0 / 0.662 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000167/0.1388, allocations: 65.52 kB / 0.662 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1389, allocations: 51.41 kB / 0.6621 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.079e-05/0.1389, allocations: 89.86 kB / 0.6622 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1389, allocations: 25.7 kB / 0.6622 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.139, allocations: 80.14 kB / 0.6623 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.139, allocations: 4.469 kB / 0.6623 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.139, allocations: 21.72 kB / 0.6623 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.1391, allocations: 314.8 kB / 0.6626 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.1392, allocations: 4 kB / 0.6626 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.382e-05/0.1392, allocations: 8.188 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.965e-05/0.1392, allocations: 32.8 kB / 0.6626 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1392, allocations: 3.938 kB / 0.6626 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.295e-05/0.1393, allocations: 45.69 kB / 0.6627 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1393, allocations: 4 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1393, allocations: 0 / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1394, allocations: 4 kB / 0.6627 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-05/0.1394, allocations: 12 kB / 0.6627 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1394, allocations: 0 / 0.6627 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.1395, allocations: 4.266 kB / 0.6627 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1395, allocations: 4 kB / 0.6627 GB, free: 6.906 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 (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 6.886e-05/0.1395, allocations: 114.6 kB / 0.6628 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.1396, allocations: 4 kB / 0.6628 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.1397, allocations: 77.11 kB / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1397, allocations: 4 kB / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1397, allocations: 0 / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1398, allocations: 0 / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1399, allocations: 165.5 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1399, allocations: 0 / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.14, allocations: 15.92 kB / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.14, allocations: 0 / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.14, allocations: 0 / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.14, allocations: 0 / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.14, allocations: 0 / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.1401, allocations: 171.4 kB / 0.6632 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.1402, allocations: 77.11 kB / 0.6633 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.1402, allocations: 0 / 0.6633 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.1403, allocations: 0 / 0.6633 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.1403, allocations: 7.984 kB / 0.6633 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.1403, allocations: 0 / 0.6633 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.117e-05/0.1403, allocations: 75.28 kB / 0.6634 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1403, allocations: 0 / 0.6634 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002266/0.1405, allocations: 8 kB / 0.6634 GB, free: 6.094 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 (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.0003587/0.1409, allocations: 0.6929 MB / 0.6641 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.736e-05/0.141, allocations: 27.98 kB / 0.6641 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.141, allocations: 0 / 0.6641 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.697e-05/0.141, allocations: 16.19 kB / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1413, allocations: 7.984 kB / 0.6641 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.1417, allocations: 155 kB / 0.6643 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.1419, allocations: 0.6807 MB / 0.6649 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.1419, allocations: 0 / 0.6649 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.142, allocations: 14.06 kB / 0.6649 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.142, allocations: 0 / 0.6649 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.1586, allocations: 1.185 MB / 0.6661 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/7.365, allocations: 12.2 kB / 0.6661 GB, free: 3.355 MB / 0.4981 GB (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)