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.001286/0.001286, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.00146/0.00146, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.318/2.318, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9297/0.9297, allocations: 132.2 MB / 423.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004192, allocations: 13.88 kB / 0.5033 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.559/0.5594, allocations: 81.57 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.000924/0.5604, allocations: 420.3 kB / 0.5834 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.5617, allocations: 1.058 MB / 0.5844 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.5618, allocations: 0 / 0.5844 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.5618, allocations: 1.375 kB / 0.5844 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.573e-05/0.5618, allocations: 5.281 kB / 0.5844 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.562, allocations: 17.64 kB / 0.5844 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.312e-05/0.5621, allocations: 13.16 kB / 0.5844 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.5622, allocations: 4.047 kB / 0.5844 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.5622, allocations: 14.2 kB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.5623, allocations: 5.219 kB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.5623, allocations: 0.5938 kB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.5624, allocations: 0.75 kB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.5624, allocations: 5.797 kB / 0.5845 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.5624, allocations: 27.17 kB / 0.5845 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.466e-05/0.5625, allocations: 11.64 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5625, allocations: 4 kB / 0.5845 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5625, allocations: 0.7188 kB / 0.5845 GB, free: 2.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.5625, allocations: 0 / 0.5845 GB, free: 2.871 MB / 430.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.0003359/0.5628, allocations: 321.6 kB / 0.5848 GB, free: 2.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5629, allocations: 13.53 kB / 0.5848 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.5629, allocations: 31.12 kB / 0.5849 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.563, allocations: 5.766 kB / 0.5849 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.622e-05/0.563, allocations: 164.7 kB / 0.585 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.563, allocations: 5.125 kB / 0.585 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.5631, allocations: 6.094 kB / 0.585 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.5632, allocations: 39.41 kB / 0.5851 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.5632, allocations: 0.5156 kB / 0.5851 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.5632, allocations: 4 kB / 0.5851 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5632, allocations: 8.922 kB / 0.5851 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.5633, allocations: 9.141 kB / 0.5851 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.5636, allocations: 254.9 kB / 0.5853 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.5638, allocations: 41.67 kB / 0.5854 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.5638, allocations: 5.344 kB / 0.5854 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.5638, allocations: 32.27 kB / 0.5854 GB, free: 1.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5638, allocations: 0 / 0.5854 GB, free: 1.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001773/0.564, allocations: 52.58 kB / 0.5855 GB, free: 1.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.564, allocations: 56.06 kB / 0.5855 GB, free: 1.762 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.288e-05/0.5641, allocations: 92.02 kB / 0.5856 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.5641, allocations: 25.7 kB / 0.5856 GB, free: 1.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/0.5641, allocations: 80.89 kB / 0.5857 GB, free: 1.551 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.5641, allocations: 13.66 kB / 0.5857 GB, free: 1.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.5641, allocations: 0 / 0.5857 GB, free: 1.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.5642, allocations: 317.2 kB / 0.586 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.5642, allocations: 2.672 kB / 0.586 GB, free: 1.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.5642, allocations: 12.44 kB / 0.586 GB, free: 1.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.5643, allocations: 9.125 kB / 0.586 GB, free: 1.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5643, allocations: 1.312 kB / 0.586 GB, free: 1.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.26e-05/0.5644, allocations: 51.97 kB / 0.5861 GB, free: 1.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.5644, allocations: 6.109 kB / 0.5861 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5644, allocations: 0 / 0.5861 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5644, allocations: 0.7812 kB / 0.5861 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.024e-05/0.5645, allocations: 6.047 kB / 0.5861 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5645, allocations: 0 / 0.5861 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.5645, allocations: 1.672 kB / 0.5861 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.5645, allocations: 5.578 kB / 0.5861 GB, free: 1.164 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.5646, allocations: 115.5 kB / 0.5862 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.5646, allocations: 1.422 kB / 0.5862 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.5648, allocations: 76.14 kB / 0.5863 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5648, allocations: 0.6562 kB / 0.5863 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5648, allocations: 0 / 0.5863 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.5648, allocations: 1.781 kB / 0.5863 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.565, allocations: 165.7 kB / 0.5865 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.565, allocations: 0.6562 kB / 0.5865 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.5651, allocations: 12.77 kB / 0.5865 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5651, allocations: 4.656 kB / 0.5865 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.5651, allocations: 5.547 kB / 0.5865 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5651, allocations: 0 / 0.5865 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5651, allocations: 1.344 kB / 0.5865 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.5652, allocations: 164.6 kB / 0.5866 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.5653, allocations: 78.75 kB / 0.5867 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.5653, allocations: 1.219 kB / 0.5867 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.5653, allocations: 4.797 kB / 0.5867 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.5654, allocations: 4.562 kB / 0.5867 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.5654, allocations: 4.953 kB / 0.5867 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.943e-05/0.5654, allocations: 75.28 kB / 0.5868 GB, free: 456 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5654, allocations: 1.375 kB / 0.5868 GB, free: 456 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.5657, allocations: 2.656 kB / 0.5868 GB, free: 456 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004148/0.5661, allocations: 0.6978 MB / 0.5875 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.5662, allocations: 20.03 kB / 0.5875 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5662, allocations: 0.9062 kB / 0.5875 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.5663, allocations: 16.83 kB / 0.5875 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.5664, allocations: 4.688 kB / 0.5875 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.5669, allocations: 158.3 kB / 0.5877 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.5673, allocations: 0.683 MB / 0.5883 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.5673, allocations: 7.016 kB / 0.5883 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.5674, allocations: 11.06 kB / 0.5884 GB, free: 14.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5674, allocations: 0.7188 kB / 0.5884 GB, free: 14.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.5787, allocations: 0.9728 MB / 0.5893 GB, free: 14.76 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.579, allocations: 196.9 kB / 0.5895 GB, free: 14.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.752, allocations: 3.938 kB / 0.5895 GB, free: 14.52 MB / 446.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/linux/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) Environment - environmentSimulation: