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.006649/0.006649, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001318/0.001318, allocations: 194.1 kB / 16.67 MB, free: 5.977 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7602/0.7602, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.89 kB / 0.5809 GB, free: 8.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4104, allocations: 80.21 MB / 0.6592 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001826/0.4122, allocations: 0.7018 MB / 0.6599 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.4133, allocations: 1.089 MB / 0.6609 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.4133, allocations: 0 / 0.6609 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.4134, allocations: 4.688 kB / 0.6609 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.592e-05/0.4134, allocations: 1.375 kB / 0.6609 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.4136, allocations: 18.06 kB / 0.661 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.478e-05/0.4136, allocations: 18.81 kB / 0.661 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.4137, allocations: 4.109 kB / 0.661 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.446e-05/0.4138, allocations: 14.09 kB / 0.661 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.4139, allocations: 13.92 kB / 0.661 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.4139, allocations: 1.375 kB / 0.661 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/0.4139, allocations: 1.375 kB / 0.661 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.4139, allocations: 5.406 kB / 0.661 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.4139, allocations: 3.453 kB / 0.661 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.196e-05/0.414, allocations: 21.17 kB / 0.661 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.414, allocations: 0.5625 kB / 0.661 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.414, allocations: 0 / 0.661 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.414, allocations: 0 / 0.661 GB, free: 8.621 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.0003/0.4143, allocations: 324.6 kB / 0.6614 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4144, allocations: 9.625 kB / 0.6614 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.4144, allocations: 37.28 kB / 0.6614 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.073e-05/0.4144, allocations: 4.938 kB / 0.6614 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.291e-05/0.4145, allocations: 162.6 kB / 0.6616 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4145, allocations: 1.75 kB / 0.6616 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.4145, allocations: 2.5 kB / 0.6616 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.129e-05/0.4146, allocations: 43.83 kB / 0.6616 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.4146, allocations: 0 / 0.6616 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.4146, allocations: 4 kB / 0.6616 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4146, allocations: 1.938 kB / 0.6616 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.4147, allocations: 9.484 kB / 0.6616 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.4149, allocations: 257.4 kB / 0.6619 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.4151, allocations: 42.81 kB / 0.6619 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.4151, allocations: 15.56 kB / 0.6619 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.4151, allocations: 1.219 kB / 0.6619 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.4151, allocations: 32.09 kB / 0.662 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4152, allocations: 4 kB / 0.662 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001413/0.4153, allocations: 52.66 kB / 0.662 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.4153, allocations: 56.02 kB / 0.6621 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.16e-05/0.4153, allocations: 89.86 kB / 0.6621 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.4154, allocations: 28.02 kB / 0.6622 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.806e-05/0.4154, allocations: 87.98 kB / 0.6623 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.4154, allocations: 9.781 kB / 0.6623 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.4154, allocations: 22.45 kB / 0.6623 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.4155, allocations: 315.6 kB / 0.6626 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.4155, allocations: 5.641 kB / 0.6626 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.4155, allocations: 7.734 kB / 0.6626 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.4155, allocations: 23.5 kB / 0.6626 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4156, allocations: 0 / 0.6626 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.058e-05/0.4156, allocations: 49.17 kB / 0.6627 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4156, allocations: 6.344 kB / 0.6627 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4156, allocations: 0.7031 kB / 0.6627 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4157, allocations: 4.031 kB / 0.6627 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.378e-05/0.4157, allocations: 5.453 kB / 0.6627 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.4157, allocations: 5.312 kB / 0.6627 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.4157, allocations: 4.797 kB / 0.6627 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.4158, allocations: 5.125 kB / 0.6627 GB, free: 6.871 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 3.935e-05/0.4158, allocations: 112.5 kB / 0.6628 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.4158, allocations: 1.922 kB / 0.6628 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.4159, allocations: 76.23 kB / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.416, allocations: 0 / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.416, allocations: 1.25 kB / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.416, allocations: 4.703 kB / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.4161, allocations: 165.7 kB / 0.663 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4161, allocations: 0 / 0.663 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.4161, allocations: 10.12 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.4162, allocations: 0 / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.4162, allocations: 2.016 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4162, allocations: 0 / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4162, allocations: 0.6562 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.461e-05/0.4163, allocations: 170.1 kB / 0.6632 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.4163, allocations: 77.62 kB / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.4163, allocations: 2.172 kB / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/0.4164, allocations: 0 / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.4164, allocations: 4.234 kB / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4164, allocations: 2.188 kB / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.093e-05/0.4164, allocations: 75.28 kB / 0.6634 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4164, allocations: 0 / 0.6634 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002024/0.4166, allocations: 7.281 kB / 0.6634 GB, free: 6.16 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.0002509/0.4169, allocations: 0.699 MB / 0.6641 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.842e-05/0.417, allocations: 28.61 kB / 0.6641 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.417, allocations: 3.938 kB / 0.6641 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.417, allocations: 17.94 kB / 0.6641 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.4172, allocations: 5.125 kB / 0.6641 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.4176, allocations: 158.1 kB / 0.6643 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.459e-05/0.4177, allocations: 0.6769 MB / 0.6649 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.4177, allocations: 3.75 kB / 0.6649 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.4177, allocations: 11.47 kB / 0.6649 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.4177, allocations: 0 / 0.6649 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.4332, allocations: 1.202 MB / 0.6661 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.521, allocations: 15.28 kB / 0.6661 GB, free: 4.09 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)