Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_dev_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.001134/0.001134, 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.00111/0.00111, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.162/1.162, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7913/0.7913, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 60.28 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1193, allocations: 80.93 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001783/0.1212, allocations: 0.7403 MB / 0.5845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1222, allocations: 1.098 MB / 0.5856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.1222, allocations: 4 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.1223, allocations: 0 / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.445e-05/0.1223, allocations: 0 / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.1224, allocations: 15.97 kB / 0.5856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.1225, allocations: 15.94 kB / 0.5856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.427e-05/0.1226, allocations: 11.98 kB / 0.5857 GB, free: 3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.1226, allocations: 4 kB / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.1227, allocations: 15.91 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1227, allocations: 7.938 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.1227, allocations: 4 kB / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.1228, allocations: 4 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.1228, allocations: 0 / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.308e-05/0.1228, allocations: 15.92 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1228, allocations: 0 / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1228, allocations: 0 / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1229, allocations: 0 / 0.5857 GB, free: 2.949 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.0003249/0.1232, allocations: 331.8 kB / 0.586 GB, free: 2.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1232, allocations: 8.031 kB / 0.586 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.603e-05/0.1233, allocations: 34.75 kB / 0.5861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.005e-05/0.1233, allocations: 8.844 kB / 0.5861 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.255e-05/0.1234, allocations: 164.3 kB / 0.5862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1234, allocations: 384 / 0.5862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.1234, allocations: 384 / 0.5862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.716e-05/0.1235, allocations: 49.8 kB / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.1235, allocations: 0 / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1235, allocations: 4 kB / 0.5863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1235, allocations: 4 kB / 0.5863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.1235, allocations: 12 kB / 0.5863 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.1238, allocations: 248.9 kB / 0.5865 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.124, allocations: 46.5 kB / 0.5866 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.124, allocations: 8.922 kB / 0.5866 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.124, allocations: 7.984 kB / 0.5866 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.1241, allocations: 34.56 kB / 0.5866 GB, free: 1.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1241, allocations: 0 / 0.5866 GB, free: 1.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001427/0.1242, allocations: 57.61 kB / 0.5867 GB, free: 1.773 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.1242, allocations: 51.41 kB / 0.5867 GB, free: 1.711 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.585e-05/0.1243, allocations: 89.86 kB / 0.5868 GB, free: 1.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.1243, allocations: 25.7 kB / 0.5868 GB, free: 1.582 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.1243, allocations: 88.12 kB / 0.5869 GB, free: 1.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.1244, allocations: 11.91 kB / 0.5869 GB, free: 1.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.1244, allocations: 13.72 kB / 0.5869 GB, free: 1.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.1245, allocations: 318.8 kB / 0.5872 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.1245, allocations: 4 kB / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/0.1245, allocations: 0 / 0.5873 GB, free: 1.137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.112e-05/0.1246, allocations: 32.78 kB / 0.5873 GB, free: 1.102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1246, allocations: 0 / 0.5873 GB, free: 1.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.83e-05/0.1246, allocations: 45.62 kB / 0.5873 GB, free: 1.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1247, allocations: 17.97 kB / 0.5873 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1247, allocations: 3.984 kB / 0.5873 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.1247, allocations: 0 / 0.5873 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.1247, allocations: 7.938 kB / 0.5874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1247, allocations: 0 / 0.5874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.1248, allocations: 3.906 kB / 0.5874 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1248, allocations: 7.984 kB / 0.5874 GB, free: 1.012 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.43e-05/0.1248, allocations: 113.8 kB / 0.5875 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.1249, allocations: 0 / 0.5875 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.125, allocations: 77.11 kB / 0.5875 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.125, allocations: 0 / 0.5875 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.125, allocations: 0 / 0.5875 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.125, allocations: 4 kB / 0.5876 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.1252, allocations: 165.5 kB / 0.5877 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1252, allocations: 0 / 0.5877 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.1252, allocations: 8 kB / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1252, allocations: 0 / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1252, allocations: 7.984 kB / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1252, allocations: 0 / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1252, allocations: 4 kB / 0.5877 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.1254, allocations: 159.5 kB / 0.5879 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.1254, allocations: 81.02 kB / 0.588 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1254, allocations: 4 kB / 0.588 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.1255, allocations: 4 kB / 0.588 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.1255, allocations: 3.938 kB / 0.588 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.1255, allocations: 7.984 kB / 0.588 GB, free: 288 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.349e-05/0.1255, allocations: 79.28 kB / 0.5881 GB, free: 208 kB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1255, allocations: 0 / 0.5881 GB, free: 208 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.1257, allocations: 4 kB / 0.5881 GB, free: 204 kB / 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.0003326/0.1261, allocations: 0.689 MB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.496e-05/0.1262, allocations: 23.92 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1262, allocations: 4 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.1262, allocations: 20 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.1264, allocations: 4.984 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.1267, allocations: 148.9 kB / 0.5889 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.1269, allocations: 0.6814 MB / 0.5896 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.127, allocations: 7.984 kB / 0.5896 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.127, allocations: 15.44 kB / 0.5896 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.127, allocations: 0 / 0.5896 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1415/0.2686, allocations: 1.055 MB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.2688, allocations: 227.8 kB / 0.5909 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.39/1.659, allocations: 0 / 0.5909 GB, free: 13.37 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)